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  *  [EMAIL PROTECTED]  *  [EMAIL PROTECTED]
TECHNOkRATIS Consulting Services  *  http://www.technokratis.com/
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to