Justus Winter, le Wed 12 Nov 2014 16:49:09 +0100, a écrit : > This makes it possible to inject imports.
Ack. > * include/mach/gnumach.defs: Make it possible to inject imports. > * include/mach/mach.defs: Likewise. > * include/mach/mach_host.defs: Likewise. > --- > include/mach/gnumach.defs | 4 ++++ > include/mach/mach.defs | 4 ++++ > include/mach/mach_host.defs | 4 ++++ > 3 files changed, 12 insertions(+) > > diff --git a/include/mach/gnumach.defs b/include/mach/gnumach.defs > index bac3b09..dd4da87 100644 > --- a/include/mach/gnumach.defs > +++ b/include/mach/gnumach.defs > @@ -29,6 +29,10 @@ subsystem > #include <mach/mach_types.defs> > #include <mach_debug/mach_debug_types.defs> > > +#ifdef GNUMACH_IMPORTS > +GNUMACH_IMPORTS > +#endif > + > type vm_cache_statistics_data_t = struct[11] of integer_t; > > /* > diff --git a/include/mach/mach.defs b/include/mach/mach.defs > index 5851080..3786f65 100644 > --- a/include/mach/mach.defs > +++ b/include/mach/mach.defs > @@ -46,6 +46,10 @@ userprefix r_; > #include <mach/std_types.defs> > #include <mach/mach_types.defs> > > +#ifdef MACH_IMPORTS > +MACH_IMPORTS > +#endif > + > skip; /* old port_allocate */ > skip; /* old port_deallocate */ > skip; /* old port_enable */ > diff --git a/include/mach/mach_host.defs b/include/mach/mach_host.defs > index 2644146..6699a50 100644 > --- a/include/mach/mach_host.defs > +++ b/include/mach/mach_host.defs > @@ -47,6 +47,10 @@ subsystem > #include <mach/std_types.defs> > #include <mach/mach_types.defs> > > +#ifdef MACH_HOST_IMPORTS > +MACH_HOST_IMPORTS > +#endif > + > /* > * Get list of processors on this host. > */ > -- > 2.1.1 > -- Samuel Running Windows on a Pentium is like having a brand new Porsche but only be able to drive backwards with the handbrake on. (Unknown source)