Date: Thu, 10 Jul 2003 17:12:03 -0400 From: "Ben Goodwin" <ben@atomicmatrix.net> To: <freebsd-hackers@freebsd.org> Subject: Re: NSS Modules Message-ID: <000501c34727$e9575fe0$6801a8c0@dsg.atomicmatrix.net> References: <001301c34669$438e1040$6801a8c0@dsg.atomicmatrix.net> <20030710164322.GA1812@technokratis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. :-) >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000501c34727$e9575fe0$6801a8c0>