Define HAVE_VARIADIC_MACROS as 1, not nothing, in wx/cpp.h.
This avoids g++ warning about HAVE_VARIADIC_MACROS redefinition in setup.h if wx/cpp.h happens to be included before it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -130,13 +130,13 @@
|
||||
/* Any C99 or C++11 compiler should have them. */
|
||||
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
|
||||
(defined(__cplusplus) && __cplusplus >= 201103L)
|
||||
#define HAVE_VARIADIC_MACROS
|
||||
#define HAVE_VARIADIC_MACROS 1
|
||||
#elif wxCHECK_GCC_VERSION(3,0)
|
||||
#define HAVE_VARIADIC_MACROS
|
||||
#define HAVE_VARIADIC_MACROS 1
|
||||
#elif wxCHECK_VISUALC_VERSION(8)
|
||||
#define HAVE_VARIADIC_MACROS
|
||||
#define HAVE_VARIADIC_MACROS 1
|
||||
#elif wxCHECK_WATCOM_VERSION(1,2)
|
||||
#define HAVE_VARIADIC_MACROS
|
||||
#define HAVE_VARIADIC_MACROS 1
|
||||
#endif
|
||||
#endif /* !HAVE_VARIADIC_MACROS */
|
||||
|
||||
|
Reference in New Issue
Block a user