From: aho450s AT nic DOT smsu DOT edu (Tony O'Bryan) Newsgroups: comp.os.msdos.djgpp Subject: Re: Why two identical typedef are considered an error in DJGPP? Date: Sun, 19 Jan 1997 14:18:49 GMT Organization: Southwest Missouri State University Lines: 17 Message-ID: <32e22d1c.4599867@ursa.smsu.edu> References: <01IE7MKQWZ2Q003361 AT cc DOT uab DOT es> NNTP-Posting-Host: forseti.i53.smsu.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On Sat, 18 Jan 1997 01:01:22 GMT, Dave Pearson wrote: >#ifndef BYTE >typedef unsigned char BYTE; >#endif > >#ifndef BYTE >typedef unsigned char BYTE; >#endif GCC complains about a redefinition, but will allow a #define in place of the typedef. Turbo C allows both versions. Sorry for the extra text, but Free Agent won't let me send a message that has more quoted material than new. :(