Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AlexGyver/Arduino_Ambilight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Библиотеки/FastLED-master/cpp_compat.h')
-rw-r--r--Библиотеки/FastLED-master/cpp_compat.h16
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