From: Stefan Csomor Date: Fri, 23 Aug 2002 12:41:01 +0000 (+0000) Subject: added wxSIZE_T.. defines (every release of CW has a different typedef but I hope... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/26bea6ac6d59736ceea9f0e962abb016c085f6fa?ds=sidebyside added wxSIZE_T.. defines (every release of CW has a different typedef but I hope they all end up as unsigned long git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/platform.h b/include/wx/platform.h index 005719486b..68bfb33fc6 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -146,6 +146,9 @@ defined(THINK_C) || \ (defined(__MWERKS__) && !defined(__INTEL__)) /* MacOS */ + #if !defined(wxSIZE_T_IS_UINT) && !defined(wxSIZE_T_IS_ULONG) + #define wxSIZE_T_IS_ULONG + #endif #elif defined(__WXMAC__) && defined(__APPLE__) /* Mac OS X */ #define __UNIX_LIKE__ @@ -167,6 +170,9 @@ #define __POWERPC__ 1 #endif + #if !defined(wxSIZE_T_IS_UINT) && !defined(wxSIZE_T_IS_ULONG) + #define wxSIZE_T_IS_ULONG + #endif /* Some code has been added to workaround defects(?) in the bundled gcc compiler. These corrections are identified by