Skip to content

Commit 38f7564

Browse files
committed
msvc: Check for _MSC_VER
MSVC requires special treatment. We check for it now. Signed-off-by: Johannes Demel <[email protected]>
1 parent 6f6ef23 commit 38f7564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/volk/volk_complex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <volk/volk_common.h>
2222

2323
__VOLK_DECL_BEGIN
24-
#ifndef __STDC_NO_COMPLEX__
24+
#ifndef _MSC_VER
2525
// Obviously, we would love `typedef float complex lv_32fc_t` to work.
2626
// However, this clashes with C++ definitions.
2727
// error: expected initializer before ‘lv_32fc_t’

0 commit comments

Comments
 (0)