Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uwm.edu!gem.mps.ohio-state.edu!lavaca.uh.edu!uhnix1!sugar!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: A solution to the multiple inclusion problem Keywords: #include c c++ Message-ID: <6696@ficc.uu.net> Date: 26 Oct 89 21:38:41 GMT References: <14240@well.UUCP> <11396@smoke.BRL.MIL> <288@charyb.COM> Reply-To: peter@ficc.uu.net (Peter da Silva) Organization: Xenix Support, FICC Lines: 13 How about just "#pragma exit"? This would terminate reading the current file immediately. #ifdef HEADER_H #exit #endif #define HEADER_H ... -- `-_-' Peter da Silva . 'U` -------------- +1 713 274 5180. "That particular mistake will not be repeated. There are plenty of mistakes left that have not yet been used." -- Andy Tanenbaum (ast@cs.vu.nl)