mirror of
https://github.com/lovell/sharp.git
synced 2025-07-10 19:10:14 +02:00
Test availability of __has_feature macro
This commit is contained in:
parent
4f72dcbf54
commit
e07a105b7c
@ -14,9 +14,11 @@
|
|||||||
#error GCC version 4.6+ is required for C++11 features - see https://github.com/lovell/sharp#prerequisites
|
#error GCC version 4.6+ is required for C++11 features - see https://github.com/lovell/sharp#prerequisites
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (defined(__clang__) && !__has_feature(cxx_range_for))
|
#if (defined(__clang__) && defined(__has_feature))
|
||||||
|
#if (!__has_feature(cxx_range_for))
|
||||||
#error clang version 3.0+ is required for C++11 features - see https://github.com/lovell/sharp#prerequisites
|
#error clang version 3.0+ is required for C++11 features - see https://github.com/lovell/sharp#prerequisites
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace sharp {
|
namespace sharp {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user