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/branches/WX_2_8_BRANCH@60027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-04-05 12:16:58 +00:00
parent 5ae457812d
commit bf7c34c1a4

View File

@@ -1018,6 +1018,9 @@ inline void *wxUIntToPtr(wxUIntPtr p)
#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