changeset 42529:a717ef452897

(CFLAGS): Define _WIN32_WINNT as 0x0400, in order to pick up relevant bits of the Windows API definitions.
author Andrew Innes <andrewi@gnu.org>
date Fri, 04 Jan 2002 14:04:53 +0000
parents cba96aed7093
children b4f7feb654e3
files nt/gmake.defs nt/nmake.defs
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/nt/gmake.defs	Fri Jan 04 13:10:23 2002 +0000
+++ b/nt/gmake.defs	Fri Jan 04 14:04:53 2002 +0000
@@ -172,7 +172,7 @@
 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
--- a/nt/nmake.defs	Fri Jan 04 13:10:23 2002 +0000
+++ b/nt/nmake.defs	Fri Jan 04 14:04:53 2002 +0000
@@ -129,7 +129,7 @@
 !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 =