]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
Patch #826420, and also adapted to new SWIG
[wxWidgets.git] / 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)