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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user