From: Václav Slavík Date: Sun, 29 Apr 2007 10:28:22 +0000 (+0000) Subject: OpenWatcom >= 1.2 has __VA_ARGS__ X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/37db38bc526e78b62a5b42eda7379c20ffe64774?ds=inline OpenWatcom >= 1.2 has __VA_ARGS__ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/defs.h b/include/wx/defs.h index 75191a57e5..96ca1b6d9f 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -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 */