* Purpose: Various preprocessor helpers
* Author: Vadim Zeitlin
* Created: 2006-09-30
- * RCS-ID: $Id$
* Copyright: (c) 2006 Vadim Zeitlin <vadim@wxwindows.org>
* Licence: wxWindows licence
*/
#ifndef _WX_CPP_H_
#define _WX_CPP_H_
+#include "wx/compiler.h" /* wxCHECK_XXX_VERSION() macros */
+
/* wxCONCAT works like preprocessor ## operator but also works with macros */
#define wxCONCAT_HELPER(text, line) text ## line
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
(defined(__cplusplus) && __cplusplus >= 201103L)
#define HAVE_VARIADIC_MACROS
- #elif defined(__GNUC__) && __GNUC__ >= 3
+ #elif wxCHECK_GCC_VERSION(3,0)
#define HAVE_VARIADIC_MACROS
#elif wxCHECK_VISUALC_VERSION(8)
#define HAVE_VARIADIC_MACROS