PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cpp_compat.h 257B

3 yıl önce
12345678910111213141516
  1. #ifndef __INC_CPP_COMPAT_H
  2. #define __INC_CPP_COMPAT_H
  3. #include "FastLED.h"
  4. #if __cplusplus <= 199711L
  5. #define static_assert(expression, message)
  6. #define constexpr const
  7. #else
  8. // things that we can turn on if we're in a C++11 environment
  9. #endif
  10. #endif