Xref: utzoo comp.sys.sgi:2660 comp.unix.ultrix:2401 comp.sys.mips:385 Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!lll-winken!gauss.llnl.gov!casey From: casey@gauss.llnl.gov (Casey Leedom) Newsgroups: comp.sys.sgi,comp.unix.ultrix,comp.sys.mips Subject: Re: Distinguishing "true" MIPS box from DECstation at compile time Message-ID: <42334@lll-winken.LLNL.GOV> Date: 24 Dec 89 01:28:21 GMT References: <89Dec15.145750est.2273@neat.cs.toronto.edu> <1300@uakari.primate.wisc.edu> <2103@odin.SGI.COM> Sender: usenet@lll-winken.LLNL.GOV Reply-To: casey@gauss.llnl.gov (Casey Leedom) Followup-To: comp.sys.sgi Organization: Lawrence Livermore National Laboratory Lines: 14 | From: moraes@cs.toronto.edu (Mark Moraes) | | It is probably much better to ifdef on specific features that one needs | (eg. BSD_SIGNALS, JOB_CONTROL, DIRENT, SHMEM, etc) than on a specific | vendor type ... I agree, but if you do this, please use the proposed POSIX defines for this. That way you shouldn't have to change too much when POSIX actually makes it out of the shop. (Sorry, I don't have the draft standard on me, so I can't provide any details on what the proposed defines are or even which file a POSIX conforming program is supposed to include to get the set of Supported Feature Constants.) Casey