Date: Wed, 15 Jan 1997 14:03:51 +0000 From: Bill Currie Subject: Re: Why two identical typedef are considered an error in DJGPP? To: Benjamin D Chambers Cc: djgpp AT delorie DOT com Reply-to: billc AT blackmagic DOT tait DOT co DOT nz Message-id: <32DCE3C7.4C19@blackmagic.tait.co.nz> Organization: Tait Electronics NZ MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <01IE7MKQWZ2Q003361 AT cc DOT uab DOT es> <19970114 DOT 151132 DOT 2183 DOT 2 DOT chambersb AT juno DOT com> Benjamin D Chambers wrote: > Sure. Use: > #ifndef BYTE > typedef unsigned char BYTE; > #endif > That won't work, as the #ifndef is handled by cpp but the typedef is handled by cc1 (or cc1plus). Bill -- Leave others their otherness.