NSS Modules

Ben Goodwin ben at atomicmatrix.net
Thu Jul 10 14:12:06 PDT 2003


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. :-)
>




More information about the freebsd-hackers mailing list