From d26965fcdbf59a290cac61e318e09f11044cff3f Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 22 Mar 2015 02:26:28 +0000 Subject: win32.c: stat_by_find * win32/win32.c (stat_by_find): extract from winnt_stat. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/Makefile.sub | 3 +++ 1 file changed, 3 insertions(+) (limited to 'win32/Makefile.sub') diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 235dc9b9b3..56cd86a14c 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -122,6 +122,9 @@ PLATFORM = mswin32 !if !defined(RT) !error RT not defined. Retry from configure pass. !endif +!ifndef NTVER +NTVER = 0x0600 +!endif !ifdef NTVER ARCHDEFS = -D_WIN32_WINNT=$(NTVER) $(ARCHDEFS) !endif -- cgit v1.2.3