mirror of
https://github.com/gunner47/GyverLamp.git
synced 2025-08-08 01:20:31 +03:00
add
This commit is contained in:
16
libraries/FastLED-3.2.0/cpp_compat.h
Normal file
16
libraries/FastLED-3.2.0/cpp_compat.h
Normal file
@@ -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
|
Reference in New Issue
Block a user