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:
@@ -1018,6 +1018,9 @@ inline void *wxUIntToPtr(wxUIntPtr p)
|
|||||||
#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
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user