Date: Sun, 11 May 2008 06:42:00 -0700 From: Garrett Cooper <yanefbsd@gmail.com> To: d@delphij.net Cc: freebsd-hackers@freebsd.org, stevefranks@ieee.org Subject: Re: correct #define in source to specify FBSD vs. linux? Message-ID: <F6CCAB05-2197-4E45-AD8A-4EFFE353DA91@gmail.com> In-Reply-To: <482499AB.5000609@delphij.net> References: <539c60b90805091103u2c8907a6q83cdca69fb45888e@mail.gmail.com> <482499AB.5000609@delphij.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 9, 2008, at 11:36 AM, Xin LI wrote: > -----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----- #ifdef __linux__ for Linux as well. See: http://lists.debian.org/debian-devel/2001/01/msg00971.html (same applies for all platforms I would assume).. -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F6CCAB05-2197-4E45-AD8A-4EFFE353DA91>