gcc warning on #define duplicated

This commit is contained in:
Laurent THOMAS
2025-01-14 10:07:31 +01:00
parent d5c72cf843
commit 7d0c89185c
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -31,7 +31,9 @@ extern "C" {
#include <stdatomic.h>
#else
#include <atomic>
#ifndef _Atomic
#define _Atomic(X) std::atomic<X>
#endif
#define _Alignas(X) alignas(X)
#endif