Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site harvard.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!harvard!brownell From: brownell@harvard.ARPA (Dave Brownell) Newsgroups: net.lang.c Subject: Re: A Modest Extension to the C Preprocessor Message-ID: <339@harvard.ARPA> Date: Fri, 3-Aug-84 00:52:54 EDT Article-I.D.: harvard.339 Posted: Fri Aug 3 00:52:54 1984 Date-Received: Sat, 4-Aug-84 08:27:58 EDT References: <377@wdl1.UUCP>, <338@harvard.ARPA> Lines: 22 >=< Better and simpler is to make the #include files safe for multiple inclusions. It's so simple I'm amazed that neither Berkeley nor Bell have done it: #ifndef FOO_H_INCLUDED #define FOO_H_INCLUDED /* contents of "foo.h" */ #endif FOO_H_INCLUDED This is compatible with any standard CPP. Dave Brownell Sequoia Systems Inc. {allegra,floyd,ihnp4,seismo}!harvard!sequoia!brownell