]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
added wxDynamicLibrary::GetSymbolAorW()
[wxWidgets.git] / include / wx / defs.h
index 6da83c521e1b1432215a7c3ffee54699a3d64d57..439e76f8518d565e8d835a764f834d9bf55d7598 100644 (file)
@@ -573,7 +573,7 @@ typedef int wxWindowID;
     #define except(x) catch(...)
 #endif /*  Metrowerks */
 
-#if defined(__WATCOMC__)
+#if defined(__WATCOMC__) && (__WATCOMC__ < 1240)
     typedef short mode_t;
 #endif
 
@@ -963,6 +963,9 @@ inline void *wxUIntToPtr(wxUIntPtr p)
 #if defined(__PALMOS__) && !defined(HAVE_SSIZE_T)
     #define HAVE_SSIZE_T
 #endif
+#if defined(__WATCOMC__) && __WATCOMC__ > 1230
+    #define HAVE_SSIZE_T
+#endif
 #ifndef HAVE_SSIZE_T
     #if SIZEOF_SIZE_T == 4
         typedef wxInt32 ssize_t;