From: Vadim Zeitlin Date: Thu, 20 Jan 2000 22:36:48 +0000 (+0000) Subject: added test for _WIN32 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/634d3cc8d8d9d8e663d465d6405afc661b6dccf3 added test for _WIN32 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/defs.h b/include/wx/defs.h index c03471ff7a..fa9ca95dce 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -164,9 +164,11 @@ #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__