Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site oddjob.UChicago.UUCP Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!gargoyle!oddjob!matt From: matt@oddjob.UChicago.UUCP (Matt Crawford) Newsgroups: net.unix-wizards Subject: Re: Let ME try for a new topic... (multiple includes) Message-ID: <266@oddjob.UChicago.UUCP> Date: Tue, 5-Jun-84 16:51:02 EDT Article-I.D.: oddjob.266 Posted: Tue Jun 5 16:51:02 1984 Date-Received: Wed, 6-Jun-84 06:12:59 EDT References: <2506@allegra.UUCP> Organization: U. Chicago: Astronomy & Astrophysics Lines: 19 A better solution than bracketing the contents of every include file with: #ifndef unique_symbol #define unique_symbol : : #endif unique_symbol seems to be used for certain 4.2 distribution files. When one file, say foo.h, requires definitions in another, say bar.h, it begins with: #ifndef bar_unique_symbol #include#endif bar_unique_symbol : : This can, of course, be coupled with the above. It does nothing for the extern problem, however. ___________________________________________________________ Matt University ARPA: crawford@anl-mcs.arpa Crawford of Chicago UUCP: ihnp4!oddjob!matt