Date: Wed, 27 Jan 1999 17:37:29 +0200 From: Ruslan Ermilov <ru@ucb.crimea.ua> To: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl> Cc: FreeBSD Hackers <hackers@FreeBSD.ORG> Subject: Re: #define question Message-ID: <19990127173729.A19941@ucb.crimea.ua> In-Reply-To: <XFMail.990127161951.asmodai@wxs.nl>; from Jeroen Ruigrok/Asmodai on Wed, Jan 27, 1999 at 04:19:51PM %2B0100 References: <XFMail.990127161951.asmodai@wxs.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 27, 1999 at 04:19:51PM +0100, Jeroen Ruigrok/Asmodai wrote: > Hi, > > simple question I'm sure... > > Do we have a systemwide variable to use in the form like this: > > #ifdef __FREEBSD__ > #include <whatever.h> > #endif > > And with the variable I am referring to the __FREEBSD__ tag... > > thanks in advance, > Try to `cpp' this chunk: #ifdef __FreeBSD__ #warning "You're on FreeBSD" #endif BR, -- 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?19990127173729.A19941>