From owner-freebsd-hackers Thu Nov 4 18:29:13 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 8641A1568B for ; Thu, 4 Nov 1999 18:29:10 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id TAA75504; Thu, 4 Nov 1999 19:28:00 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id TAA11285; Thu, 4 Nov 1999 19:27:22 -0700 (MST) Message-Id: <199911050227.TAA11285@harmony.village.org> To: Roger Hardiman Subject: Re: Is there anything like #ifdef BSD Cc: hackers@FreeBSD.ORG In-reply-to: Your message of "Wed, 27 Oct 1999 11:07:25 BST." <3816CEDD.446B@cs.strath.ac.uk> References: <3816CEDD.446B@cs.strath.ac.uk> Date: Thu, 04 Nov 1999 19:27:22 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <3816CEDD.446B@cs.strath.ac.uk> Roger Hardiman writes: : #if defined (BSD) : or #ifdef BSD #include BSD will be defined on BSD systems, for what it is worth. However, these days #ifndef linux #endif works just about as well and is often time more accurate in describing what needs to happen in the code :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message