Commit 6bbf1380 authored by Martin Reinecke's avatar Martin Reinecke

try to fix clang version detection

parent b28f5293
......@@ -110,9 +110,15 @@ constexpr bool FORWARD = true,
#if defined(__INTEL_COMPILER)
// do nothing. This is necessary because this compiler also sets __GNUC__.
#elif defined(__clang__)
#ifdef __APPLE__
#if __clang__>=5
#undef POCKETFFT_NO_VECTORS
#endif
#else
#if __clang_major__>=5
#undef POCKETFFT_NO_VECTORS
#endif
#endif
#elif defined(__GNUC__)
#if __GNUC__>=5
#undef POCKETFFT_NO_VECTORS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment