]> git.saurik.com Git - wxWidgets.git/commitdiff
define HAVE_SSIZE_T if we define ssize_t ourselves to prevent redefinitions in other...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Apr 2009 12:16:58 +0000 (12:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Apr 2009 12:16:58 +0000 (12:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index f4c9bea0c7563c6eb9c4e80b756d77922669527c..f815b8698612ce6724ce2fbcb1f4280afaa14624 100644 (file)
@@ -1081,6 +1081,9 @@ typedef wxUint32 wxDword;
     #else
         #error "error defining ssize_t, size_t is not 4 or 8 bytes"
     #endif
+
+    /* prevent ssize_t redefinitions in other libraries */
+    #define HAVE_SSIZE_T
 #endif
 
 // we can't rely on Windows _W64 being defined as windows.h may not be included