Commit 7d0c8918 authored by Laurent THOMAS's avatar Laurent THOMAS

gcc warning on #define duplicated

parent d5c72cf8
...@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment