From 3e42fa50ffb730a3198aa30c84ae35c8fbe7f519 Mon Sep 17 00:00:00 2001 From: Johannes Demel Date: Sat, 2 Oct 2021 13:18:44 +0200 Subject: [PATCH] msvc: Check for _MSC_VER MSVC requires special treatment. We check for it now. --- include/volk/volk_complex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/volk/volk_complex.h b/include/volk/volk_complex.h index 8f5c78783..146367e05 100644 --- a/include/volk/volk_complex.h +++ b/include/volk/volk_complex.h @@ -21,7 +21,7 @@ #include __VOLK_DECL_BEGIN -#ifndef __STDC_NO_COMPLEX__ +#ifndef _MSC_VER // Obviously, we would love `typedef float complex lv_32fc_t` to work. // However, this clashes with C++ definitions. // error: expected initializer before ‘lv_32fc_t’