From 26bea6ac6d59736ceea9f0e962abb016c085f6fa Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 23 Aug 2002 12:41:01 +0000 Subject: [PATCH] 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 --- include/wx/platform.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.47.2