Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 8/23/84; site ucbcad.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!ucbvax!ucbcad!faustus From: faustus@ucbcad.UUCP Newsgroups: net.unix-wizards Subject: Re: Re: Re(cap): Which Unix? Message-ID: <227@ucbcad.UUCP> Date: Thu, 9-May-85 00:57:30 EDT Article-I.D.: ucbcad.227 Posted: Thu May 9 00:57:30 1985 Date-Received: Sat, 11-May-85 01:11:43 EDT References: <237@dadla.UUCP> <179@hadron.UUCP> Distribution: net Organization: UC Berkeley CAD Group, Berkeley, CA Lines: 12 Personally, I don't like the idea of having an include file to tell the program what version of UNIX you are on -- if you have a large program with a makefile, it is probably better to do the define there. That way, if you want to #define around some block of code that will work on one unix but not on another, you can just define the one you are not currently using and make sure that things work ok (i.e, you didn't #define around anything that should be in both versions by accident...) Also, this works if you want your program to compile on non-unix systems that will probably not have nice #include files sitting around to tell you what is going on... But then you don't have make, so... Wayne