From aa2f4a9cc8fdd0e6b95a011022c4c29d8e5ba10c Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Mon, 11 Feb 2002 16:32:00 +0000 Subject: [PATCH] (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to pick up relevant bits of the Windows API definitions. --- nt/ChangeLog | 8 ++++++++ nt/gmake.defs | 2 +- nt/nmake.defs | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/nt/ChangeLog b/nt/ChangeLog index b487fb25912..b54f16b0219 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,11 @@ +2002-02-11 Andrew Innes + + * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to + pick up relevant bits of the Windows API definitions. + + * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to + pick up relevant bits of the Windows API definitions. + 2001-11-20 Jason Rumney * INSTALL: Update table of versions of make that are suitable diff --git a/nt/gmake.defs b/nt/gmake.defs index 583a054ca7c..d75239d30c6 100644 --- a/nt/gmake.defs +++ b/nt/gmake.defs @@ -172,7 +172,7 @@ DEBUG_CFLAGS = -DEMACSDEBUG else DEBUG_CFLAGS = endif -CFLAGS = -I. -DWIN32_LEAN_AND_MEAN $(ARCH_CFLAGS) -D$(ARCH) \ +CFLAGS = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 $(ARCH_CFLAGS) -D$(ARCH) \ -D_CRTAPI1=_cdecl \ $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS) EMACS_EXTRA_C_FLAGS = -DUSE_CRT_DLL=1 diff --git a/nt/nmake.defs b/nt/nmake.defs index 79e5b599b3a..3c3e8b5bca2 100644 --- a/nt/nmake.defs +++ b/nt/nmake.defs @@ -129,7 +129,7 @@ DEBUG_CFLAGS = -DEMACSDEBUG !else DEBUG_CFLAGS = !endif -CFLAGS = -I. -DWIN32_LEAN_AND_MEAN $(ARCH_CFLAGS) -D$(ARCH) \ +CFLAGS = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 $(ARCH_CFLAGS) -D$(ARCH) \ -D_CRTAPI1=_cdecl $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS) EMACS_EXTRA_C_FLAGS = -- 2.39.2