|
|
|
@ -17,7 +17,8 @@
|
|
|
|
|
#define ARX_SYSTEM_HAS_INCLUDE(x) 1
|
|
|
|
|
#elif defined(ARDUINO_SAM_DUE)
|
|
|
|
|
// Arduino DUE's GCC version is 4.8.3 (GCC < 5.0).
|
|
|
|
|
// And it has not libstdc++
|
|
|
|
|
// If libstdc++ is used, std::function causes error
|
|
|
|
|
// so currently we disable libstdc++ and use ArxTypeTraits
|
|
|
|
|
#define ARX_SYSTEM_HAS_INCLUDE(x) 0
|
|
|
|
|
#else
|
|
|
|
|
#error "Compiler does not support __has_include, please report a bug against the ArxTypeTraits library about this."
|
|
|
|
|