diff options
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r-- | win32/Makefile.sub | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index b49638f120..55651bc1ac 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -116,6 +116,9 @@ PLATFORM = mswin32 !if !defined(RT) !error RT not defined. Retry from configure pass. !endif +!ifdef NTVER +ARCHDEFS = -D_WIN32_WINNT=$(NTVER) $(ARCHDEFS) +!endif arch = $(ARCH)-$(PLATFORM) sitearch = $(ARCH)-$(RT) |