From: Stefan Csomor Date: Wed, 22 Oct 2003 06:46:48 +0000 (+0000) Subject: adding support for mach unicode builds X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f4ef67ba69bc432a49444dbfb74d70bc369bf0ab adding support for mach unicode builds git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/defs.h b/include/wx/defs.h index d4028a9f32..c5ad6d54d9 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -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