define HAVE_SSIZE_T if we define ssize_t ourselves to prevent redefinitions in other libraries headers (closes #10674)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-04-05 12:16:58 +00:00
parent 390b8241d3
commit 24a5629aed

View File

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