Author: mlytwyn
Date: Wed Nov  9 17:05:14 2016
New Revision: 40203

URL: http://svn.gna.org/viewcvs/gnustep?rev=40203&view=rev
Log:
Use predefined windows macro constants and check for Win7 capability macro for 
mingw32 support

Modified:
    
libs/base/branches/gnustep_testplant_branch/Headers/GNUstepBase/GSConfig.h.in

Modified: 
libs/base/branches/gnustep_testplant_branch/Headers/GNUstepBase/GSConfig.h.in
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Headers/GNUstepBase/GSConfig.h.in?rev=40203&r1=40202&r2=40203&view=diff
==============================================================================
--- 
libs/base/branches/gnustep_testplant_branch/Headers/GNUstepBase/GSConfig.h.in   
    (original)
+++ 
libs/base/branches/gnustep_testplant_branch/Headers/GNUstepBase/GSConfig.h.in   
    Wed Nov  9 17:05:14 2016
@@ -298,10 +298,18 @@
 #define __OBJC_BOOL 1
 #include <w32api.h>
 #ifndef _WIN32_WINNT
-#define _WIN32_WINNT Windows2000 //0x0601 //_WIN32_WINNT_WIN7
+#ifdef Windows7
+#define _WIN32_WINNT Windows7    //MinGW64
+#else
+#define _WIN32_WINNT Windows2000 //MinGW32
+#endif
 #endif
 #if    !defined(WINVER)
-#define WINVER Windows2000 //0x601
+#ifdef Windows7
+#define WINVER Windows7    //MinGW64
+#else
+#define WINVER Windows2000 //MinGW32
+#endif
 #elif (WINVER < Windows2000)
 #undef WINVER
 #define WINVER Windows2000


_______________________________________________
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to