bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Where to put OSF Mach-specific things


From: Peter Bruin
Subject: Where to put OSF Mach-specific things
Date: Fri, 12 Oct 2001 17:27:03 +0200
User-agent: Internet Messaging Program (IMP) 2.3.7-cvs

Hi,

Before I make patches, I'm first going to clean up my code a bit, because
a lot of it consists of hacks. Would it be best to have the OSF Mach-specific
things (e.g. a device_open function which uses the GNU Mach syntax and calls
the Mach function using the OSF syntax)? Or should we just use:
  #ifdef OSFMACH
  ... call OSF Mach function ...
  #else
  ... call GNU Mach function ...
  #endif

(I won't be sending e-mail until Monday, because I'm not at home.)

Thanks,
Peter



reply via email to

[Prev in Thread] Current Thread [Next in Thread]