Commit 53761081 authored by Eli Zaretskii's avatar Eli Zaretskii

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.
parent 12bc3154
2013-03-16 Eli Zaretskii <eliz@gnu.org>
Fix the MSVC build. (Bug#13939)
* inc/stdint.h (UINTPTR_MAX): Define.
* nmake.defs (libc): Fix syntax of !if conditional.
2013-03-15 Juanma Barranquero <lekktu@gmail.com>
* config.nt: Sync with autogen/config.in.
......
......@@ -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
......
......@@ -117,7 +117,7 @@ RC_INCLUDE = -i
USE_CRT_DLL = 1
!if USE_CRT_DLL
!if $(USE_CRT_DLL)
libc = msvcrt$(D).lib
EMACS_EXTRA_C_FLAGS= -D_DLL -D_MT -DUSE_CRT_DLL=1
!else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment