]> 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 d4028a9f32331ad3c21ac6239eeafef0b80b107a..4929dec125feef80abbd7b7766485e1eae1be21b 100644 (file)
@@ -678,6 +678,9 @@ typedef wxUint16 wxWord;
         typedef int wxInt32;
         typedef unsigned int wxUint32;
 
+               #if defined(__MACH__) && !defined(SIZEOF_WCHAR_T)
+                       #define SIZEOF_WCHAR_T 4
+               #endif
         #if wxUSE_WCHAR_T && !defined(SIZEOF_WCHAR_T)
             // also assume that sizeof(wchar_t) == 2 (under Unix the most
             // common case is 4 but there configure would have defined