diff options
author | Eli Zaretskii <eliz@gnu.org> | 2012-11-20 19:07:55 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-11-20 19:07:55 +0200 |
commit | 3b0108c5ba5d2bae34877a7cf499a84f814c22ee (patch) | |
tree | d7636f989a73cb44af71a7ed56d1e94171a32511 /nt | |
parent | 4ffea4478002db1df699a563477ec06000628e77 (diff) | |
download | emacs-3b0108c5ba5d2bae34877a7cf499a84f814c22ee.tar.gz |
Yet more fixes for bug #12878 with MSVC build.
nt/inc/stdint.h (INTPTR_MIN): Define for MSVC.
Diffstat (limited to 'nt')
-rw-r--r-- | nt/ChangeLog | 4 | ||||
-rw-r--r-- | nt/inc/stdint.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index cb63a90bb41..42b04fd5d03 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,7 @@ +2012-11-20 Eli Zaretskii <eliz@gnu.org> + + * inc/stdint.h (INTPTR_MIN): Define for MSVC. + 2012-11-19 Eli Zaretskii <eliz@gnu.org> * inc/stdint.h (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC. diff --git a/nt/inc/stdint.h b/nt/inc/stdint.h index edb0469eb87..97c9bbdaee9 100644 --- a/nt/inc/stdint.h +++ b/nt/inc/stdint.h @@ -37,6 +37,7 @@ typedef unsigned __int64 uint64_t; #define INT64_MAX 9223372036854775807i64 #define INT64_MIN (~INT64_MAX) #define INTPTR_MAX INT64_MAX +#define INTPTR_MIN INT64_MIN #define UINTMAX_MAX UINT64_MAX #define UINTMAX_MIN UINT64_MIN #define INTMAX_MAX INT64_MAX @@ -51,6 +52,7 @@ typedef unsigned int uint32_t; #define INT32_MAX 2147483647 #define INT32_MIN (~INT32_MAX) #define INTPTR_MAX INT32_MAX +#define INTPTR_MIN INT32_MIN #define UINTMAX_MAX UINT32_MAX #define UINTMAX_MIN UINT32_MIN #define INTMAX_MAX INT32_MAX |