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" ...
And yes, one API would be nice. Each OS has their own :-\ Thanks! -=| Ben > You should be able to do: > > #if defined(__FreeBSD__) > > to test if you're on FreeBSD. This is built as part of the > freebsd-spec in gcc so it will be defined at least if you're using our > system (stock) compiler. > > Ideally, though, the API would be the same. :-) > _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"