diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/include/stdint.h | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 1100570c9..746247e94 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,9 @@ 2003-10-28 Christopher Faylor <cgf@redhat.com> + * include/stdint.h: Duplicate below effort for rest of *64_*. + +2003-10-28 Christopher Faylor <cgf@redhat.com> + * include/stdint.h: Correctly define INT64_MAX. 2003-10-27 Thomas Pfaff <tpfaff@gmx.net> diff --git a/winsup/cygwin/include/stdint.h b/winsup/cygwin/include/stdint.h index 0333f154c..95f76add8 100644 --- a/winsup/cygwin/include/stdint.h +++ b/winsup/cygwin/include/stdint.h @@ -71,7 +71,7 @@ typedef unsigned long long uintmax_t; #define INT8_MIN (-128) #define INT16_MIN (-32768) #define INT32_MIN (-2147483647-1) -#define INT64_MIN (-9223372036854775808) +#define INT64_MIN (-9223372036854775808LL) #define INT8_MAX (127) #define INT16_MAX (32767) @@ -88,12 +88,12 @@ typedef unsigned long long uintmax_t; #define INT_LEAST8_MIN (-128) #define INT_LEAST16_MIN (-32768) #define INT_LEAST32_MIN (-2147483648) -#define INT_LEAST64_MIN (-9223372036854775808) +#define INT_LEAST64_MIN (-9223372036854775808LL) #define INT_LEAST8_MAX (127) #define INT_LEAST16_MAX (32767) #define INT_LEAST32_MAX (2147483647) -#define INT_LEAST64_MAX (9223372036854775807) +#define INT_LEAST64_MAX (9223372036854775807LL) #define UINT_LEAST8_MAX (255) #define UINT_LEAST16_MAX (65535) @@ -105,12 +105,12 @@ typedef unsigned long long uintmax_t; #define INT_FAST8_MIN (-128) #define INT_FAST16_MIN (-2147483648) #define INT_FAST32_MIN (-2147483648) -#define INT_FAST64_MIN (-9223372036854775808) +#define INT_FAST64_MIN (-9223372036854775808LL) #define INT_FAST8_MAX (127) #define INT_FAST16_MAX (2147483647) #define INT_FAST32_MAX (2147483647) -#define INT_FAST64_MAX (9223372036854775807) +#define INT_FAST64_MAX (9223372036854775807LL) #define UINT_FAST8_MAX (255) #define UINT_FAST16_MAX (4294967295UL) |