Merge remote-tracking branch 'origin/ctest-physim-sanitizers' into integration_2026_w17 (!4069)
ctest: fix tests when compiling with sanitizers, ignore build directories, fix spsc_q build - Fix the directory to the current build directory to enable running with sanitizers with ctest - add build* to .gitignore to close #1074 - fix spsc_q compilation on non-C++23 compilers to close #1073
This commit is contained in:
@@ -7,11 +7,13 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdatomic.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
#include <atomic>
|
||||
// use atomic_size_t to help interworking with C++
|
||||
using std::atomic_size_t;
|
||||
#else
|
||||
#include <stdatomic.h>
|
||||
#endif
|
||||
|
||||
typedef struct spsc_q {
|
||||
|
||||
Reference in New Issue
Block a user