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:
@@ -37,7 +37,8 @@
|
||||
#endif
|
||||
|
||||
#ifndef wxUSE_NORLANDER_HEADERS
|
||||
# if (defined(__WATCOMC__) && (__WATCOMC__ >= 1200)) || defined(__WINE__) || ((defined(__MINGW32__) || defined(__CYGWIN__)) && ((__GNUC__>2) ||((__GNUC__==2) && (__GNUC_MINOR__>=95))))
|
||||
# if ( wxCHECK_WATCOM_VERSION(1,0) || defined(__WINE__) ) || \
|
||||
((defined(__MINGW32__) || defined(__CYGWIN__)) && ((__GNUC__>2) ||((__GNUC__==2) && (__GNUC_MINOR__>=95))))
|
||||
# define wxUSE_NORLANDER_HEADERS 1
|
||||
# else
|
||||
# define wxUSE_NORLANDER_HEADERS 0
|
||||
@@ -167,12 +168,6 @@
|
||||
# define wxUSE_DEBUG_NEW_ALWAYS 0
|
||||
#endif
|
||||
|
||||
/* Early Watcom version don't have good enough wide char support */
|
||||
#if defined(__WXMSW__) && (defined(__WATCOMC__) && __WATCOMC__ < 1200)
|
||||
# undef wxUSE_WCHAR_T
|
||||
# define wxUSE_WCHAR_T 0
|
||||
#endif
|
||||
|
||||
/* DMC++ doesn't have definitions for date picker control, so use generic control
|
||||
*/
|
||||
#ifdef __DMC__
|
||||
@@ -243,4 +238,3 @@
|
||||
#endif /* wxUSE_DYNAMIC_LOADER */
|
||||
|
||||
#endif /* _WX_MSW_CHKCONF_H_ */
|
||||
|
||||
|
Reference in New Issue
Block a user