From: Stefan Csomor Date: Thu, 23 Oct 2003 17:46:04 +0000 (+0000) Subject: fix for gcc MacOS X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ffd82f1cf8109a4345a3837c54baa071cb0a8d28 fix for gcc MacOS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/defs.h b/include/wx/defs.h index c5ad6d54d9..4929dec125 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -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)