diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-06-21 06:24:23 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-06-21 06:24:23 +0000 |
commit | fa87e1a0880d363a7ba3ae31fab25fa1a1afe763 (patch) | |
tree | 90a8a4bec7af86bf3432932fc3f3a3c60253f162 | |
parent | 0f9cdb2a59e088cf3fb59aa4dab3621c091a8dfb (diff) | |
download | nasm-fa87e1a0880d363a7ba3ae31fab25fa1a1afe763.tar.gz |
inttypes.h: for older preprocessors, specify L and LL as appropriate
-rw-r--r-- | inttypes/inttypes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inttypes/inttypes.h b/inttypes/inttypes.h index 1e452c00..c4e56662 100644 --- a/inttypes/inttypes.h +++ b/inttypes/inttypes.h @@ -25,7 +25,7 @@ # endif #endif -#if LONG_MAX == 9223372036854775807 +#if LONG_MAX == 9223372036854775807L /* long is 64 bits */ typedef signed long int64_t; @@ -35,7 +35,7 @@ typedef unsigned long uint64_t; #define INT64_C(x) x ## L #define UINT64_C(x) x ## UL -#elif LLONG_MAX == 9223372036854775807 +#elif LLONG_MAX == 9223372036854775807LL /* long long is 64 bits */ typedef signed long long int64_t; @@ -63,7 +63,7 @@ typedef unsigned int uint32_t; #define INT32_C(x) x #define UINT32_C(x) x ## U -#elif LONG_MAX == 2147483647 +#elif LONG_MAX == 2147483647L /* long is 32 bits */ typedef signed long int32_t; |