From: Vadim Zeitlin Date: Wed, 27 Jun 2001 13:51:56 +0000 (+0000) Subject: wxSIZE_T_IS_UINT definition fix for mingw32 cross-compile X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/83874e15474164056d1b315fe5ec808fd6da1fea wxSIZE_T_IS_UINT definition fix for mingw32 cross-compile git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/defs.h b/include/wx/defs.h index 35630816eb..d814dfcd49 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -187,8 +187,11 @@ #define __SYMANTECC__ #endif // compiler - // size_t is the same as unsigned int for all Windows compilers we know - #define wxSIZE_T_IS_UINT + // size_t is the same as unsigned int for all Windows compilers we know, + // so define it if it hadn't been done by configure yet + #if !defined(wxSIZE_T_IS_UINT) && !defined(wxSIZE_T_IS_ULONG) + #define wxSIZE_T_IS_UINT + #endif #endif // OS // if we're on a Unix system but didn't use configure (so that setup.h didn't