mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Fix for Windows
This commit is contained in:
parent
2a21ee6a54
commit
929b9b43ad
@ -14,6 +14,11 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
|
// This is required for MSVC
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
using namespace cpu_features;
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "cpu_features_macros.h"
|
#include "cpu_features_macros.h"
|
||||||
#if defined(CPU_FEATURES_ARCH_X86)
|
#if defined(CPU_FEATURES_ARCH_X86)
|
||||||
#include "cpuinfo_x86.h"
|
#include "cpuinfo_x86.h"
|
||||||
@ -27,13 +32,8 @@
|
|||||||
#include "cpuinfo_ppc.h"
|
#include "cpuinfo_ppc.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// #if defined(__cplusplus)
|
|
||||||
// using namespace cpu_features;
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
struct VOLK_CPU volk_gnsssdr_cpu;
|
struct VOLK_CPU volk_gnsssdr_cpu;
|
||||||
|
|
||||||
|
|
||||||
// clang-format off
|
// clang-format off
|
||||||
|
|
||||||
%for arch in archs:
|
%for arch in archs:
|
||||||
|
Loading…
Reference in New Issue
Block a user