]> git.saurik.com Git - wxWidgets.git/commitdiff
OpenWatcom >= 1.2 has __VA_ARGS__
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 29 Apr 2007 10:28:22 +0000 (10:28 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 29 Apr 2007 10:28:22 +0000 (10:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 75191a57e5000b0e828448ffe895c463b89761aa..96ca1b6d9f6ee7c0fe4411d19d2f09a565fe0c73 100644 (file)
@@ -434,6 +434,12 @@ typedef int wxWindowID;
     #endif /* va_copy/!va_copy */
 #endif /* wxVaCopy */
 
+#ifndef HAVE_VARIADIC_MACROS
+    #if wxCHECK_WATCOM_VERSION(1,2)
+        #define HAVE_VARIADIC_MACROS
+    #endif
+#endif /* HAVE_VARIADIC_MACROS */
+
 
 /*  ---------------------------------------------------------------------------- */
 /*  portable calling conventions macros */