*BSD News Article 27685


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!gatech!destroyer!newsxfer.itd.umich.edu!newsrelay.iastate.edu!news.iastate.edu!ponderous.cc.iastate.edu!michaelv
From: michaelv@iastate.edu (Michael L. VanLoon)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Internal variable for NetBSD
Date: 22 Feb 94 16:24:08 GMT
Organization: Iowa State University, Ames, Iowa
Lines: 20
Message-ID: <michaelv.761934248@ponderous.cc.iastate.edu>
References: <VL9LBB9Q@math.fu-berlin.de>
NNTP-Posting-Host: ponderous.cc.iastate.edu

In <VL9LBB9Q@math.fu-berlin.de> j.s.greenland@eee.salford.ac.uk writes:

>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

__NetBSD__

-- 
------------------------------------------------------------------------------
  Michael L. VanLoon                           Project Vincent Systems Staff
  michaelv@iastate.edu              Iowa State University Computation Center
------------------------------------------------------------------------------