Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 May 2008 11:36:27 -0700
From:      Xin LI <delphij@delphij.net>
To:        stevefranks@ieee.org
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: correct #define in source to specify FBSD vs. linux?
Message-ID:  <482499AB.5000609@delphij.net>
In-Reply-To: <539c60b90805091103u2c8907a6q83cdca69fb45888e@mail.gmail.com>
References:  <539c60b90805091103u2c8907a6q83cdca69fb45888e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Steve Franks wrote:
| Seems there is a more appropriate list for my earlier question to
| freebsd-questions:
|
| On and on I charge porting linux engineering tools.  Major pita.  I
| see a bunch of #ifdef __APPLE__ lines to pull in alternate headers;
| what's the equiv for FreeBSD?

#ifdef __FreeBSD__?

- --
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkgkmaoACgkQi+vbBBjt66C30ACeIbw6P7CuwErAIvzcUjX4d4Gk
7G0An3+S2hM9YctAkKsWDVzkEoZIMhOH
=AzxS
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?482499AB.5000609>