1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 12:10:34 +00:00

Fix for Windows

This commit is contained in:
Carles Fernandez 2020-08-22 12:06:12 +02:00
parent 2a21ee6a54
commit 929b9b43ad
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -14,6 +14,11 @@
#include <string.h>
// clang-format on
// This is required for MSVC
#if defined(__cplusplus)
using namespace cpu_features;
#endif
#include "cpu_features_macros.h"
#if defined(CPU_FEATURES_ARCH_X86)
#include "cpuinfo_x86.h"
@ -27,13 +32,8 @@
#include "cpuinfo_ppc.h"
#endif
// #if defined(__cplusplus)
// using namespace cpu_features;
//#endif
struct VOLK_CPU volk_gnsssdr_cpu;
// clang-format off
%for arch in archs: