From: Scott Holisky Newsgroups: comp.os.msdos.djgpp Subject: Multiple Includes & Program Global Data Date: Tue, 02 Jun 1998 17:08:25 -0500 Organization: AT&T WorldNet Services Lines: 13 Message-ID: <6l1ssn$hpf@bgtnsc03.worldnet.att.net> Reply-To: sholisky AT worldnet DOT att DOT net NNTP-Posting-Host: 12.66.105.208 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Question: I need to use the same header file in 2 source code files to pass around global data. How??? On the other compilers that I use, there's a derective that tells the compiler to compile the header only once, but allow both source code files to use it and everything in it. How can this be done??? I use RHIDE and have a tired old 386. GCC, LIBC and all are updated to the current versions. Any help would be great. - Thanks, Adam P.S. If there's another way to use global data on the program level, please share. And if this is a hopeless cause, mabye I'll look into editing the source code...