]> git.saurik.com Git - wxWidgets.git/commitdiff
Enable variadic macros for VC9 and later.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 15 May 2012 10:04:01 +0000 (10:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 15 May 2012 10:04:01 +0000 (10:04 +0000)
VC9 and 10 support variadic macros so define HAVE_VARIADIC_MACROS for them
too. This currently only affects wxLog{Debug,Trace} definitions in wx/log.h.

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

include/wx/defs.h

index c57541cde8ac3bafe1579c4e0203c66eb3850921..86fa0c820d20e6da818895b9d5522873f930f2f9 100644 (file)
@@ -391,6 +391,10 @@ typedef short int WXTYPE;
     #if wxCHECK_WATCOM_VERSION(1,2)
         #define HAVE_VARIADIC_MACROS
     #endif
+
+    #if wxCHECK_VISUALC_VERSION(9)
+        #define HAVE_VARIADIC_MACROS
+    #endif
 #endif /* HAVE_VARIADIC_MACROS */