From ffd82f1cf8109a4345a3837c54baa071cb0a8d28 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 23 Oct 2003 17:46:04 +0000 Subject: [PATCH] fix for gcc MacOS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.50.0