]> git.saurik.com Git - wxWidgets.git/commitdiff
Recognize MSVC 11 instead of warning about unknown MSVC version.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Feb 2012 22:40:24 +0000 (22:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Feb 2012 22:40:24 +0000 (22:40 +0000)
Define __VISUALC11__ for it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/doxygen/mainpages/const_cpp.h
include/wx/platform.h

index df36b10e62437b25c36bccbd57f3218bfe391c29..9c71d03efa7f4598dabc967ece8f3a87dab9ca59 100644 (file)
@@ -167,7 +167,7 @@ compiler used.
                     @c 1020 for @c 4.2 (the first supported version), @c 1100 for
                     @c 5.0, @c 1200 for @c 6.0 and so on. For convenience, the symbols
                     __VISUALCn__ are also defined for each major compiler version from
-                    5 to 10, i.e. you can use tests such @ifdef_ __VISUALC7__ to test
+                    5 to 11, i.e. you can use tests such @ifdef_ __VISUALC7__ to test
                     for compiler version being precisely 7.}
 @itemdef{__XLC__, AIX compiler}
 @itemdef{__WATCOMC__, Watcom C++. The value of this macro corresponds to
index 1305a3ceb5317595c20cc39f1ed0029e6cd169e5..7feddf360935d6f3ab6b0531ee7d748d616a62db 100644 (file)
 #       define __VISUALC9__
 #   elif __VISUALC__ < 1700
 #       define __VISUALC10__
+#   elif __VISUALC__ < 1800
+#       define __VISUALC11__
 #   else
 #       pragma message("Please update wx/platform.h to recognize this VC++ version")
 #   endif