Skip to content
Snippets Groups Projects
Commit 7d0c8918 authored by Thomas Laurent's avatar Thomas Laurent
Browse files

gcc warning on #define duplicated

parent d5c72cf8
No related branches found
No related tags found
2 merge requests!3206Integration: `2025.w03`,!3167remove calls to clear SIMD registers, that was a historical issue
...@@ -31,7 +31,9 @@ extern "C" { ...@@ -31,7 +31,9 @@ extern "C" {
#include <stdatomic.h> #include <stdatomic.h>
#else #else
#include <atomic> #include <atomic>
#ifndef _Atomic
#define _Atomic(X) std::atomic<X> #define _Atomic(X) std::atomic<X>
#endif
#define _Alignas(X) alignas(X) #define _Alignas(X) alignas(X)
#endif #endif
......
...@@ -34,8 +34,10 @@ ...@@ -34,8 +34,10 @@
#ifdef __cplusplus #ifdef __cplusplus
#include <atomic> #include <atomic>
#ifndef _Atomic
#define _Atomic(X) std::atomic< X > #define _Atomic(X) std::atomic< X >
#endif #endif
#endif
#include "defs_nr_common.h" #include "defs_nr_common.h"
#include "CODING/nrPolar_tools/nr_polar_pbch_defs.h" #include "CODING/nrPolar_tools/nr_polar_pbch_defs.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment