X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/168d1f65c108f062c5d2ad975360d6ad0036e4c3..9c34a216817028bc533e07873d047208a96b05a2:/include/wx/cpp.h diff --git a/include/wx/cpp.h b/include/wx/cpp.h index f8b1d2ef58..11cdc03c2f 100644 --- a/include/wx/cpp.h +++ b/include/wx/cpp.h @@ -13,6 +13,8 @@ #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 @@ -130,7 +132,7 @@ #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