kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
Log | Files | Refs | README

commit 803320ae4aec3e69aea8e86d787c817586e871f1
parent 94674cd55f2fb2befae4ec0778ce871dd82ad91e
Author: [email protected] <[email protected]>
Date:   Mon, 18 Jul 2016 07:26:14 +0300

Better detection of clang

Diffstat:
Minclude/kfr/cident.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/kfr/cident.h b/include/kfr/cident.h @@ -161,7 +161,7 @@ #define CID_MSC_VER 0 #endif -#if defined(__GNUC__) // GCC, Clang +#if defined(__GNUC__) || defined(__clang__) // GCC, Clang #define CID_COMPILER_GNU 1 #define CID_GNU_ATTRIBUTES 1 #define CID_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) @@ -308,7 +308,7 @@ #if CID_COMPILER_GNU && !defined(__EXCEPTIONS) #define CID_HAS_EXCEPTIONS 0 #endif -#if CID_MSC_VER && !_HAS_EXCEPTIONS +#if CID_COMPILER_MSVC && !_HAS_EXCEPTIONS #define CID_HAS_EXCEPTIONS 0 #endif