]> git.saurik.com Git - wxWidgets.git/commitdiff
adding support for mach unicode builds
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 22 Oct 2003 06:46:48 +0000 (06:46 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 22 Oct 2003 06:46:48 +0000 (06:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index d4028a9f32331ad3c21ac6239eeafef0b80b107a..c5ad6d54d9a7c95d6f6e1e812328da572848cd19 100644 (file)
@@ -678,6 +678,9 @@ typedef wxUint16 wxWord;
         typedef int wxInt32;
         typedef unsigned int wxUint32;
 
+               #if defined (__MWERKS__) && defined(__MACH__)
+                       #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