added wxCHECK_VISUALC_VERSION macro

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-01-29 12:22:13 +00:00
parent 28f0592cd9
commit a38c9b4337
3 changed files with 24 additions and 2 deletions

View File

@@ -147,8 +147,9 @@ to the compiler version: $500$ is $5.0$.}
\twocolitem{\_\_SUNCC\_\_}{Sun CC, see also \helpref{wxCHECK\_SUNCC\_VERSION}{wxchecksunccversion}}
\twocolitem{\_\_SYMANTECC\_\_}{Symantec C++}
\twocolitem{\_\_VISAGECPP\_\_}{IBM Visual Age (OS/2)}
\twocolitem{\_\_VISUALC\_\_}{Microsoft Visual C++. The value of this macro
corresponds to the compiler version: $1020$ for $4.2$ (the first supported
\twocolitem{\_\_VISUALC\_\_}{Microsoft Visual C++, see also
\helpref{wxCHECK\_VISUALC\_VERSION}{wxcheckvisualcversion}. The value of this
macro corresponds to the compiler version: $1020$ for $4.2$ (the first supported
version), $1100$ for $5.0$, $1200$ for $6.0$ and so on. For convenience, the
symbols \_\_VISUALCn\_\_ are also defined for each major compiler version from
5 to 9, i.e. you can use tests such \texttt{#ifdef \_\_VISUALC7\_\_} to test