define __EVC4__ for eVC 4 compiler to make testing for it easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
86c188e74e
commit
3795f11ff2
@ -116,6 +116,7 @@ symbols, although this has not always been followed.
|
|||||||
@itemdef{__VMS__, VMS}
|
@itemdef{__VMS__, VMS}
|
||||||
@itemdef{__WINDOWS__, any Windows}
|
@itemdef{__WINDOWS__, any Windows}
|
||||||
@itemdef{__WINE__, Wine}
|
@itemdef{__WINE__, Wine}
|
||||||
|
@itemdef{_WIN32_WCE, Windows CE version}
|
||||||
@endDefList
|
@endDefList
|
||||||
|
|
||||||
|
|
||||||
@ -155,6 +156,7 @@ compiler used.
|
|||||||
to the compiler version: 500 is 5.0.}
|
to the compiler version: 500 is 5.0.}
|
||||||
@itemdef{__DJGPP__, DJGPP}
|
@itemdef{__DJGPP__, DJGPP}
|
||||||
@itemdef{__DIGITALMARS__, Digital Mars}
|
@itemdef{__DIGITALMARS__, Digital Mars}
|
||||||
|
@itemdef{__EVC4__, Embedded Visual C++ 4 (can be only used for building wxWinCE)}
|
||||||
@itemdef{__GNUG__, Gnu C++ on any platform, see also wxCHECK_GCC_VERSION}
|
@itemdef{__GNUG__, Gnu C++ on any platform, see also wxCHECK_GCC_VERSION}
|
||||||
@itemdef{__GNUWIN32__, Gnu-Win32 compiler, see also wxCHECK_W32API_VERSION}
|
@itemdef{__GNUWIN32__, Gnu-Win32 compiler, see also wxCHECK_W32API_VERSION}
|
||||||
@itemdef{__MINGW32__, MinGW}
|
@itemdef{__MINGW32__, MinGW}
|
||||||
@ -172,7 +174,6 @@ compiler used.
|
|||||||
@itemdef{__XLC__, AIX compiler}
|
@itemdef{__XLC__, AIX compiler}
|
||||||
@itemdef{__WATCOMC__, Watcom C++. The value of this macro corresponds to
|
@itemdef{__WATCOMC__, Watcom C++. The value of this macro corresponds to
|
||||||
the compiler version, @c 1100 is @c 11.0 and @c 1200 is OpenWatcom.}
|
the compiler version, @c 1100 is @c 11.0 and @c 1200 is OpenWatcom.}
|
||||||
@itemdef{_WIN32_WCE, Windows CE version}
|
|
||||||
@endDefList
|
@endDefList
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// eVC doesn't have standard streams
|
// eVC doesn't have standard streams
|
||||||
#if !wxCHECK_VISUALC_VERSION(8)
|
#ifdef __EVC4__
|
||||||
#undef wxUSE_STD_IOSTREAM
|
#undef wxUSE_STD_IOSTREAM
|
||||||
#define wxUSE_STD_IOSTREAM 0
|
#define wxUSE_STD_IOSTREAM 0
|
||||||
#endif
|
#endif
|
||||||
@ -52,7 +52,7 @@
|
|||||||
#define wxUSE_JOYSTICK 0
|
#define wxUSE_JOYSTICK 0
|
||||||
|
|
||||||
// libtiff doesn't build with eVC but is ok with VC8
|
// libtiff doesn't build with eVC but is ok with VC8
|
||||||
#if !wxCHECK_VISUALC_VERSION(8)
|
#ifdef __EVC4__
|
||||||
#undef wxUSE_LIBTIFF
|
#undef wxUSE_LIBTIFF
|
||||||
#define wxUSE_LIBTIFF 0
|
#define wxUSE_LIBTIFF 0
|
||||||
#endif
|
#endif
|
||||||
@ -90,7 +90,7 @@
|
|||||||
#define wxUSE_PRINTING_ARCHITECTURE 0
|
#define wxUSE_PRINTING_ARCHITECTURE 0
|
||||||
|
|
||||||
// regex doesn't build with eVC but is ok with VC8
|
// regex doesn't build with eVC but is ok with VC8
|
||||||
#if !wxCHECK_VISUALC_VERSION(8)
|
#ifdef __EVC4__
|
||||||
#undef wxUSE_REGEX
|
#undef wxUSE_REGEX
|
||||||
#define wxUSE_REGEX 0
|
#define wxUSE_REGEX 0
|
||||||
#endif
|
#endif
|
||||||
@ -149,7 +149,7 @@
|
|||||||
|
|
||||||
// eVC can't compile template Bind() but VC8 can
|
// eVC can't compile template Bind() but VC8 can
|
||||||
#if !wxEVENTS_COMPATIBILITY_2_8
|
#if !wxEVENTS_COMPATIBILITY_2_8
|
||||||
# if !wxCHECK_VISUALC_VERSION(8)
|
# ifdef __EVC4__
|
||||||
# undef wxEVENTS_COMPATIBILITY_2_8
|
# undef wxEVENTS_COMPATIBILITY_2_8
|
||||||
# define wxEVENTS_COMPATIBILITY_2_8 1
|
# define wxEVENTS_COMPATIBILITY_2_8 1
|
||||||
# endif
|
# endif
|
||||||
|
@ -233,6 +233,10 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__WXWINCE__) && defined(_MSC_VER) && (_MSC_VER == 1201)
|
||||||
|
#define __EVC4__
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__POCKETPC__) || defined(__SMARTPHONE__) || defined(__WXGPE__)
|
#if defined(__POCKETPC__) || defined(__SMARTPHONE__) || defined(__WXGPE__)
|
||||||
# define __WXHANDHELD__
|
# define __WXHANDHELD__
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user