]> git.saurik.com Git - wxWidgets.git/commitdiff
Check that wxSIZE_T_IS_* macros are always defined.
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 24 Jun 2010 10:34:01 +0000 (10:34 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 24 Jun 2010 10:34:01 +0000 (10:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 03cb08dc51863e679d5fa48a852b04674069c213..e787551ccedc70ccb7eae6d607a25845c5400fc3 100644 (file)
@@ -923,6 +923,10 @@ typedef wxUint16 wxWord;
     #error "SIZEOF_WCHAR_T must be defined, but isn't"
 #endif
 
+#if !defined(wxSIZE_T_IS_UINT) && !defined(wxSIZE_T_IS_ULONG)
+    #error "wxSIZE_T_IS_UINT or wxSIZE_T_IS_ULONG must be defined"
+#endif
+
 /* also define C99-like sized MIN/MAX constants */
 #define wxINT8_MIN CHAR_MIN
 #define wxINT8_MAX CHAR_MAX