]> git.saurik.com Git - wxWidgets.git/commitdiff
fix for gcc MacOS
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 23 Oct 2003 17:46:04 +0000 (17:46 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 23 Oct 2003 17:46:04 +0000 (17:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index c5ad6d54d9a7c95d6f6e1e812328da572848cd19..4929dec125feef80abbd7b7766485e1eae1be21b 100644 (file)
@@ -678,7 +678,7 @@ typedef wxUint16 wxWord;
         typedef int wxInt32;
         typedef unsigned int wxUint32;
 
-               #if defined (__MWERKS__) && defined(__MACH__)
+               #if defined(__MACH__) && !defined(SIZEOF_WCHAR_T)
                        #define SIZEOF_WCHAR_T 4
                #endif
         #if wxUSE_WCHAR_T && !defined(SIZEOF_WCHAR_T)