Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn ) Newsgroups: net.unix-wizards Subject: Re: Which *nix ? BSD : System V Message-ID: <8317@brl-tgr.ARPA> Date: Tue, 19-Feb-85 22:18:39 EST Article-I.D.: brl-tgr.8317 Posted: Tue Feb 19 22:18:39 1985 Date-Received: Thu, 21-Feb-85 05:46:34 EST References: <147@rtech.ARPA> Distribution: net Organization: Ballistic Research Lab Lines: 12 > # include > # ifdef FNDELAY > # define BSD > # else > # define SYS5 > # endif This should work on 4.2BSD and all UNIX System III and V releases. It would be a compile-time error on older UNIXes. I still prefer writing code for ONE environment rather than having to juggle two at the same time.