Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 17:41:48 +0100 (CET)
From:      Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To:        nsmart@kira.team400.ie
Cc:        FreeBSD Hackers <hackers@FreeBSD.ORG>, Ruslan Ermilov <ru@ucb.crimea.ua>
Subject:   Re: #define question
Message-ID:  <XFMail.990127174148.asmodai@wxs.nl>
In-Reply-To: <36AF3EEE.D9B6C3C0@kira.team400.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27-Jan-99 nsmart@kira.team400.ie wrote:
> 
>> Try to `cpp' this chunk:
>> 
>> #ifdef __FreeBSD__
>> #warning "You're on FreeBSD"
>> #endif
> 
> This program is hopelessly buggy, try this version:
> 
>#ifndef __FreeBSD__
>#warning "You're not on FreeBSD!"
>#endif

The latter being more exclusive and thus more able to give the correct
answer I guess?

---
Jeroen Ruigrok van der Werven          It's a Dance of Energy,
asmodai(at)wxs.nl                 when the Mind goes Binary...
Network/Security Specialist      <http://home.wxs.nl/~asmodai>;
BSD & picoBSD: The Power to Serve     <http://www.freebsd.org>;

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?XFMail.990127174148.asmodai>