diff --git a/source/build/include/build.h b/source/build/include/build.h index d86f7e9e6..74c7ec3d9 100644 --- a/source/build/include/build.h +++ b/source/build/include/build.h @@ -15,11 +15,8 @@ static_assert('\xff' == 255, "Char must be unsigned!"); -#if !defined __cplusplus || (__cplusplus < 201103L && !defined _MSC_VER) -# error C++11 or greater is required. -#endif - #include "compat.h" +#include "printf.h" #include "palette.h" #include "binaryangle.h" diff --git a/source/build/include/compat.h b/source/build/include/compat.h index 6d1a3803c..930315c4f 100644 --- a/source/build/include/compat.h +++ b/source/build/include/compat.h @@ -14,15 +14,6 @@ ////////// Language and compiler feature polyfills ////////// -# define EXTERNC - -#if defined __GNUC__ || defined __clang__ -# define ATTRIBUTE(attrlist) __attribute__(attrlist) -#else -# define ATTRIBUTE(attrlist) -#endif - - # define fallthrough__ [[fallthrough]] ////////// Architecture detection //////////