]> git.saurik.com Git - wxWidgets.git/commitdiff
Recognize VC12 (a.k.a. MSVS 2013) and define __VISUALC12__ for it.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Jul 2013 21:29:48 +0000 (21:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Jul 2013 21:29:48 +0000 (21:29 +0000)
Closes #15320.

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

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

index 2581eda5b32711a5cddc4a88eb99934079cf85ba..2131fecd19b7e8f91060e4f79cdd79a2a621ac24 100644 (file)
@@ -157,7 +157,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 11, i.e. you can use tests such @ifdef_ __VISUALC7__ to test
+                    5 to 12, 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 f60059a208b91802fb89eac1628d2405ada36a12..0e3fdc72c81a7797acc38dd78328c9f6a65cb776 100644 (file)
@@ -62,6 +62,8 @@
         #define wxCOMPILER_PREFIX vc100
     #elif _MSC_VER == 1700
         #define wxCOMPILER_PREFIX vc110
+    #elif _MSC_VER == 1800
+        #define wxCOMPILER_PREFIX vc120
     #else
         #error "Unknown MSVC compiler version, please report to wx-dev."
     #endif
index 9eaffa8a8d3e6b15833629fb0a36824f30200fda..e322e88fce92295497e16eef852b8955535f395b 100644 (file)
 #       define __VISUALC10__
 #   elif __VISUALC__ < 1800
 #       define __VISUALC11__
+#   elif __VISUALC__ < 1900
+#       define __VISUALC12__
 #   else
 #       pragma message("Please update wx/platform.h to recognize this VC++ version")
 #   endif