Macros for simplified testing Open Watcom version and required tweaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -146,7 +146,7 @@
|
||||
#elif defined(__BORLANDC__) && (__BORLANDC__ >= 0x500)
|
||||
/* Borland 5.0+ supports bool */
|
||||
#define HAVE_BOOL
|
||||
#elif defined(__WATCOMC__) && (__WATCOMC__ >= 1100)
|
||||
#elif wxCHECK_WATCOM_VERSION(1,0)
|
||||
/* Watcom 11+ supports bool */
|
||||
#define HAVE_BOOL
|
||||
#elif defined(__DIGITALMARS__)
|
||||
@@ -609,7 +609,7 @@ typedef int wxWindowID;
|
||||
#define except(x) catch(...)
|
||||
#endif /* Metrowerks */
|
||||
|
||||
#if defined(__WATCOMC__) && (__WATCOMC__ < 1240)
|
||||
#if wxONLY_WATCOM_EARLIER_THAN(1,4)
|
||||
typedef short mode_t;
|
||||
#endif
|
||||
|
||||
@@ -1006,7 +1006,7 @@ inline void *wxUIntToPtr(wxUIntPtr p)
|
||||
#if defined(__PALMOS__) && !defined(HAVE_SSIZE_T)
|
||||
#define HAVE_SSIZE_T
|
||||
#endif
|
||||
#if defined(__WATCOMC__) && __WATCOMC__ > 1230
|
||||
#if wxCHECK_WATCOM_VERSION(1,4)
|
||||
#define HAVE_SSIZE_T
|
||||
#endif
|
||||
#ifndef HAVE_SSIZE_T
|
||||
|
Reference in New Issue
Block a user