From: Eli Zaretskii Date: Tue, 20 Nov 2012 17:07:55 +0000 (+0200) Subject: Yet more fixes for bug #12878 with MSVC build. X-Git-Tag: emacs-24.2.90~27 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3b0108c5ba5d2bae34877a7cf499a84f814c22ee;p=emacs.git Yet more fixes for bug #12878 with MSVC build. nt/inc/stdint.h (INTPTR_MIN): Define for MSVC. --- 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 + + * inc/stdint.h (INTPTR_MIN): Define for MSVC. + 2012-11-19 Eli Zaretskii * 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