NSS Modules
Bosko Milekic
bmilekic at technokratis.com
Thu Jul 10 14:36:42 PDT 2003
On Thu, Jul 10, 2003 at 05:12:03PM -0400, Ben Goodwin wrote:
> I'd like to support Sun's cc, however .. so I'm betting that isn't defined
> (I will check) ... I figured that would be available under gcc but assumed
> it wasn't "portable enough" ...
You can still test for whether or not it is defined.
#if defined(__FreeBSD__)
/* Do freebsd-specific stuff */
#else
/* Other systems? */
#endif
--
Bosko Milekic * bmilekic at technokratis.com * bmilekic at FreeBSD.org
TECHNOkRATIS Consulting Services * http://www.technokratis.com/
More information about the freebsd-hackers
mailing list