*BSD News Article 27645


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!basser.cs.su.oz.au!news.cs.su.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!scsing.switch.ch!news.dfn.de!news.dfn.de!zib-berlin.de!news.th-darmstadt.de!math.fu-berlin.de!news
From: j.s.greenland@eee.salford.ac.uk
Subject: Internal variable for NetBSD
Message-ID: <VL9LBB9Q@math.fu-berlin.de>
Sender: news@math.fu-berlin.de (Math Department)
Nntp-Posting-Host: 146.87.119.60
Organization: University of Salford Computing Society
X-Newsreader: <WinQVT/Net v3.9>
Date: Tue, 22 Feb 1994 10:06:36 GMT
Lines: 10

Is there an internal variable that you can check to wether it is NetBSD
you are compiling something under or not.
When compiling the MudOS driver under NetBSD I need to comment out a
section of it and redefine it because NetBSD reports true to 
#if defined (__386BSD__)
Its not particularly pretty to comment out the section and re-enter the
define and if theres a #define similar to __386BSD__ then it would be
most useful to me.

Jake Greenland