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 f54ef677ad2628e9ec7d0eed5028635554b953d6
parent a84d826ce387c795ce3013bf9c6a2c0b2ab6fdd0
Author: [email protected] <[email protected]>
Date:   Tue,  8 Nov 2016 06:03:28 +0300

define CMT_OS_NAME

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

diff --git a/include/kfr/cident.h b/include/kfr/cident.h @@ -473,6 +473,20 @@ extern char* gets(char* __s); #define CMT_PRAGMA_MSVC(...) __pragma(__VA_ARGS__) #endif +#if defined CMT_OS_IOS +#define CMT_OS_NAME "ios" +#elif defined CMT_OS_MAC +#define CMT_OS_NAME "macos" +#elif defined CMT_OS_ANDROIS +#define CMT_OS_NAME "android" +#elif defined CMT_OS_LINUX +#define CMT_OS_NAME "linux" +#elif defined CMT_OS_WIN +#define CMT_OS_NAME "windows" +#else +#define CMT_OS_NAME "unknown" +#endif + #if defined CMT_COMPILER_CLANG #if defined _MSC_VER #define CMT_COMPIER_NAME "clang-msvc"