diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-03-16 10:55:38 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-03-16 10:55:38 +0200 |
commit | 53761081f76cf7f6e341658ff9412fb4f41e9a74 (patch) | |
tree | 87f40b87e9fa62de41c909fe4cbf7b70817f0471 /nt/inc | |
parent | 12bc3154f5e8fc54e3cdcc977ff92896a44a7596 (diff) | |
download | emacs-53761081f76cf7f6e341658ff9412fb4f41e9a74.tar.gz |
Fix problems with MSVC build reported in bug #13939.
nt/inc/stdint.h (UINTPTR_MAX): Define.
nt/nmake.defs (libc): Fix syntax of !if conditional.
Diffstat (limited to 'nt/inc')
-rw-r--r-- | nt/inc/stdint.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nt/inc/stdint.h b/nt/inc/stdint.h index c8704e25910..c8b3aba0916 100644 --- a/nt/inc/stdint.h +++ b/nt/inc/stdint.h @@ -38,6 +38,7 @@ typedef unsigned __int64 uint64_t; #define INT64_MIN (~INT64_MAX) #define INTPTR_MAX INT64_MAX #define INTPTR_MIN INT64_MIN +#define UINTPTR_MAX UINT64_MAX #define UINTMAX_MAX UINT64_MAX #define UINTMAX_MIN UINT64_MIN #define INTMAX_MAX INT64_MAX @@ -53,6 +54,7 @@ typedef unsigned int uint32_t; #define INT32_MIN (~INT32_MAX) #define INTPTR_MAX INT32_MAX #define INTPTR_MIN INT32_MIN +#define UINTPTR_MAX UINT32_MAX #define UINTMAX_MAX UINT32_MAX #define UINTMAX_MIN UINT32_MIN #define INTMAX_MAX INT32_MAX |