diff options
Diffstat (limited to 'Библиотеки/FastLED-master/cpp_compat.h')
-rw-r--r-- | Библиотеки/FastLED-master/cpp_compat.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Библиотеки/FastLED-master/cpp_compat.h b/Библиотеки/FastLED-master/cpp_compat.h new file mode 100644 index 0000000..ab5b773 --- /dev/null +++ b/Библиотеки/FastLED-master/cpp_compat.h @@ -0,0 +1,16 @@ +#ifndef __INC_CPP_COMPAT_H +#define __INC_CPP_COMPAT_H + +#include "FastLED.h" + +#if __cplusplus <= 199711L + +#define static_assert(expression, message) +#define constexpr const + +#else + +// things that we can turn on if we're in a C++11 environment +#endif + +#endif |