]> git.saurik.com Git - wxWidgets.git/commitdiff
define __EVC4__ for eVC 4 compiler to make testing for it easier
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Apr 2009 13:16:59 +0000 (13:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Apr 2009 13:16:59 +0000 (13:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/doxygen/mainpages/const_cpp.h
include/wx/msw/wince/chkconf.h
include/wx/platform.h

index cd9737262538c9af852c8a3cbb3bcfb7ed4cf8d3..3ef7716a18506c6138d63db3350db4de807b5edd 100644 (file)
@@ -116,6 +116,7 @@ symbols, although this has not always been followed.
 @itemdef{__VMS__, VMS}
 @itemdef{__WINDOWS__, any Windows}
 @itemdef{__WINE__, Wine}
+@itemdef{_WIN32_WCE, Windows CE version}
 @endDefList
 
 
@@ -155,6 +156,7 @@ compiler used.
                         to the compiler version: 500 is 5.0.}
 @itemdef{__DJGPP__, DJGPP}
 @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{__GNUWIN32__, Gnu-Win32 compiler, see also wxCHECK_W32API_VERSION}
 @itemdef{__MINGW32__, MinGW}
@@ -172,7 +174,6 @@ compiler used.
 @itemdef{__XLC__, AIX compiler}
 @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.}
-@itemdef{_WIN32_WCE, Windows CE version}
 @endDefList
 
 
index 5a5ecc58d4ead267c4593c7148c079b9e9c2959a..a15f394277974d5bbf3312d808fa6bd4fd5e7b33 100644 (file)
@@ -29,7 +29,7 @@
 #endif
 
 // eVC doesn't have standard streams
-#if !wxCHECK_VISUALC_VERSION(8)
+#ifdef __EVC4__
     #undef wxUSE_STD_IOSTREAM
     #define wxUSE_STD_IOSTREAM 0
 #endif
@@ -52,7 +52,7 @@
 #define wxUSE_JOYSTICK 0
 
 // libtiff doesn't build with eVC but is ok with VC8
-#if !wxCHECK_VISUALC_VERSION(8)
+#ifdef __EVC4__
     #undef wxUSE_LIBTIFF
     #define wxUSE_LIBTIFF 0
 #endif
@@ -90,7 +90,7 @@
 #define wxUSE_PRINTING_ARCHITECTURE 0
 
 // regex doesn't build with eVC but is ok with VC8
-#if !wxCHECK_VISUALC_VERSION(8)
+#ifdef __EVC4__
     #undef wxUSE_REGEX
     #define wxUSE_REGEX 0
 #endif
 
 // eVC can't compile template Bind() but VC8 can
 #if !wxEVENTS_COMPATIBILITY_2_8
-#   if !wxCHECK_VISUALC_VERSION(8)
+#   ifdef __EVC4__
 #       undef wxEVENTS_COMPATIBILITY_2_8
 #       define wxEVENTS_COMPATIBILITY_2_8 1
 #   endif
index 51f7807b66bd57f010ae53e1967f9aa2ab63f1af..a1a2537981a591ccf1e0ec69d95cbc4ac3600355 100644 (file)
 #   endif
 #endif
 
+#if defined(__WXWINCE__) && defined(_MSC_VER) && (_MSC_VER == 1201)
+    #define __EVC4__
+#endif
+
 #if defined(__POCKETPC__) || defined(__SMARTPHONE__) || defined(__WXGPE__)
 #   define __WXHANDHELD__
 #endif