delorie.com/archives/browse.cgi | search |
Date: | Sat, 26 Aug 2000 18:46:52 -0400 |
Message-Id: | <200008262246.SAA18823@envy.delorie.com> |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp AT delorie DOT com |
In-reply-to: | <ad5eqsg3sdfgl0ciid50au76t09e78h51n@4ax.com> (message from |
Radical NetSurfer on Fri, 25 Aug 2000 21:07:16 -0400) | |
Subject: | Re: BAD strupr, BAD getw |
References: | <2mncqsos70c6u5losbrrlrq9qq2esrm9t0 AT 4ax DOT com> <ad5eqsg3sdfgl0ciid50au76t09e78h51n AT 4ax DOT com> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
There are no bit-size standards. If you need such standards, you need to make them up yourself, either using #ifdefs or a configure-style program that uses sizeof() to detect the size of each type and build a .h file accordingly. I've seen machines where char, short, and long are all 32 bits. I've seen machines where int and long are 64 bits.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |