Date: Wed, 27 Jan 1999 18:14:18 +0200 From: Ruslan Ermilov <ru@ucb.crimea.ua> To: Emmanuel DELOGET <pixel@DotCom.FR> Cc: hackers@FreeBSD.ORG Subject: Re: #define question Message-ID: <19990127181418.A28837@ucb.crimea.ua> In-Reply-To: <199901271600.QAA03633@excalibur.oceanis.net>; from Emmanuel DELOGET on Wed, Jan 27, 1999 at 05:00:46PM %2B0100 References: <199901271600.QAA03633@excalibur.oceanis.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 27, 1999 at 05:00:46PM +0100, Emmanuel DELOGET wrote:
> > Do we have a systemwide variable to use in the form like this:
> >
> > #ifdef __FREEBSD__
> > #include <whatever.h>
> > #endif
>
> It seems that we do not
> (try grep -i freebsd /usr/include/*{.h,/*.h})
>
Try
strings /usr/libexec/cpp | grep __FreeBSD__
Try
cc -v <your_simple_program>
--
Ruslan Ermilov Sysadmin and DBA of the
ru@ucb.crimea.ua United Commercial Bank
+380.652.247.647 Simferopol, Ukraine
http://www.FreeBSD.org The Power To Serve
http://www.oracle.com Enabling The Information Age
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990127181418.A28837>
