From 16ee7f42e1b6964e5b7dd8d2152ea31a3748b370 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 23 Nov 1998 12:41:10 +0000 Subject: [PATCH] __WIN16__ not defined any more for !MSW build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/defs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/wx/defs.h b/include/wx/defs.h index 9a97532c80..6d684c34d0 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -46,7 +46,6 @@ # pragma warning(disable:4244) #endif - ////////////////////////////////////////////////////////////////////////////////// // Currently Only MS-Windows/NT, XView and Motif are supported // @@ -57,6 +56,7 @@ # define __X__ #endif +#ifdef __WXMSW__ // wxWindows checks for WIN32, not __WIN32__ #if ((defined(WIN32) || defined(__NT__)) && !defined(__WIN32__) && !defined(__WXSTUBS__)) #define __WIN32__ @@ -70,6 +70,8 @@ #define __WIN95__ #endif +#endif // wxMSW + // Make sure the environment is set correctly #if defined(__WXMSW__) && defined(__X__) # error "Target can't be both X and Windows" -- 2.50.0