]> git.saurik.com Git - wxWidgets.git/commitdiff
added test for _WIN32
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 20 Jan 2000 22:36:48 +0000 (22:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 20 Jan 2000 22:36:48 +0000 (22:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index c03471ff7a13a5996201afd34afeae8ebf96e792..fa9ca95dce7eeed2fe4e9a197a6bfc4700e4804f 100644 (file)
 #endif
 
 #ifdef __WXMSW__
-// wxWindows checks for WIN32, not __WIN32__
-#if ((defined(WIN32) || defined(__NT__)) && !defined(__WIN32__) && !defined(__WXSTUBS__))
-#define __WIN32__
+    #if defined(_WIN32) || defined(WIN32) || defined(__NT__)
+        #ifndef __WIN32__
+            #define __WIN32__
+        #endif
+    #endif
 #endif
 
 #ifdef __WXWINE__