Browse Source

fix WINNT autodetection

Jameson Nash 11 years ago
parent
commit
13cc579520
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Make.inc

+ 2 - 2
Make.inc

@@ -50,8 +50,8 @@ ifeq ($(ARCH),i686)
 override ARCH = i387
 override ARCH = i387
 endif
 endif
 
 
-ifeq ($(OS), MINGW32_NT-6.1)
-OS=WINNT
+ifneq (,$(findstring MINGW,$(OS)))
+override OS=WINNT
 endif
 endif
 #keep these if statements these separate
 #keep these if statements these separate
 ifeq ($(OS), WINNT)
 ifeq ($(OS), WINNT)