delorie.com/archives/browse.cgi | search |
From: | Paul Shirley <Paul AT foobar DOT co DOT uk DOT chocolat> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Why two identical typedef are considered an error in DJGPP? |
Date: | Thu, 16 Jan 1997 00:40:55 +0000 |
Organization: | wot? me? |
Lines: | 22 |
Distribution: | world |
Message-ID: | <jRKDPBAXkX3yEw9J@foobar.co.uk> |
References: | <01IE7MKQWZ2Q003361 AT cc DOT uab DOT es> |
<Pine DOT A41 DOT 3 DOT 94 DOT 970115082052 DOT 92882A-100000 AT acs2 DOT acs DOT ucalgary DOT ca> | |
Reply-To: | Paul Shirley <junk AT defeating DOT email DOT address> |
NNTP-Posting-Host: | chocolat.foobar.co.uk |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
In article <Pine.A41.3.94.970115082052.92882A- 100000 AT acs2 DOT acs DOT ucalgary DOT ca>, Matthew Mastracci > >Try encapsulating the line with a define that checks for an arbitrary >conditional (ie: BYTEdefined) and if it is not set, sets it and then >defines the conditional. > >Pseudocode: > >if not defined "BYTEdefined" >define "BYTEdefined" >declare BYTE >end if #ifndef BYTE typedef unsigned char BYTE; #endif ...is what I usually do. --- Paul Shirley: shuffle chocolat before foobar for my real email address
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |