This commit is contained in:
2025-04-13 20:35:52 +02:00
parent 9b71757a44
commit 5e30aa291c
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
#include <Pulse.h> #include <Pulse.h>
#include "../../PulseInternal.h" #include "../../PulseInternal.h"
#ifdef __STDC_NO_ATOMICS__ #if defined(__STDC_NO_ATOMICS__) && !defined(ATOMICS_OVERLOAD)
#error "Atomic support is not present" #error "Atomic support is not present"
#endif #endif

View File

@@ -5,7 +5,7 @@
#include <Pulse.h> #include <Pulse.h>
#include "../../PulseInternal.h" #include "../../PulseInternal.h"
#ifdef __STDC_NO_ATOMICS__ #if defined(__STDC_NO_ATOMICS__) && !defined(ATOMICS_OVERLOAD)
#error "Atomic support is not present" #error "Atomic support is not present"
#endif #endif

View File

@@ -43,7 +43,7 @@
#if defined _MSC_VER && defined __STDC_NO_ATOMICS__ && __STDC_VERSION__ >= 201112L #if defined _MSC_VER && defined __STDC_NO_ATOMICS__ && __STDC_VERSION__ >= 201112L
#undef __STDC_NO_ATOMICS__ #define ATOMICS_OVERLOAD
#define __concat2(x,y) x ## y #define __concat2(x,y) x ## y
#define __concat3(x,y,z) x ## y ## z #define __concat3(x,y,z) x ## y ## z