X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcompat.h;h=7a95e90505d3e371941966f7e9ccf75074b2dc4b;hb=79892a727e323dcc4bce7e9c0cf3c99c5fe61706;hp=4678de12a3960ef94c5edeca5ccb4393a6f4d2ab;hpb=7ece928bab20881d6fe24c4479f4ff9e0a8a7179;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/compat.h b/include/compat.h index 4678de12a..7a95e9050 100644 --- a/include/compat.h +++ b/include/compat.h @@ -76,24 +76,6 @@ # define CXX11_OVERRIDE #endif -/** - * These macros enable the detection of the C++11 variadic templates in - * compilers which support them. - */ -#if __cplusplus >= 201103L -# define HAS_CXX11_VARIADIC_TEMPLATES -#elif defined __clang__ -# if __has_feature(cxx_variadic_templates) -# define HAS_CXX11_VARIADIC_TEMPLATES -# endif -#elif (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) -# if defined __GXX_EXPERIMENTAL_CXX0X__ -# define HAS_CXX11_VARIADIC_TEMPLATES -# endif -#elif _MSC_FULL_VER >= 170051025 -# define HAS_CXX11_VARIADIC_TEMPLATES -#endif - /** * This macro allows methods to be marked as deprecated. To use this, wrap the * method declaration in the header file with the macro.