From f1b1ecf0200d1c790c2852b99d0fe20f30b3a08d Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Thu, 24 Feb 2005 10:43:27 +0000 Subject: [PATCH] PalmOS headers have ssize_t with no sign of it so we have to assume they are always there. Missed semicolon. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/defs.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/wx/defs.h b/include/wx/defs.h index 5200bf4e44..87f65850d6 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -933,11 +933,14 @@ inline void *wxUIntToPtr(wxUIntPtr p) #define HAVE_SSIZE_T #endif #endif +#if defined(__PALMOS__) && !defined(HAVE_SSIZE_T) + #define HAVE_SSIZE_T +#endif #ifndef HAVE_SSIZE_T #if SIZEOF_SIZE_T == 4 typedef wxInt32 ssize_t; #elif SIZEOF_SIZE_T == 8 - typedef wxInt64 ssize_t + typedef wxInt64 ssize_t; #else #error "error defining ssize_t, size_t is not 4 or 8 bytes" #endif -- 2.45.2