delorie.com/archives/browse.cgi | search |
Date: | Wed, 15 Jan 1997 14:03:51 +0000 |
From: | Bill Currie <billc AT blackmagic DOT tait DOT co DOT nz> |
Subject: | Re: Why two identical typedef are considered an error in DJGPP? |
To: | Benjamin D Chambers <chambersb AT juno DOT com> |
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 |
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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |