Skip to content

Commit

Permalink
msvc: Check for _MSC_VER
Browse files Browse the repository at this point in the history
MSVC requires special treatment. We check for it now.

Signed-off-by: Johannes Demel <[email protected]>
  • Loading branch information
jdemel committed Jan 14, 2023
1 parent f74d94b commit 5111d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/volk/volk_complex.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <volk/volk_common.h>

__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’
Expand Down

0 comments on commit 5111d6b

Please sign in to comment.