Replace stdatomic.h (C11 standard compliant header) by a custom one
to increase C++ compatibility as stdatomic.h doesn't work in C++! (I would like to thanks the one(s) who thought it was a good idea ***not*** to include stdatomic.h -and thread.h- in the C++ standard!)
This commit is contained in:
1 parent
c433df06c0
commit
72c5c3f371
4 files changed
+98
-3
No files matched your search
+1
-1
@@ -26,8 +26,8 @@
|
||||
#define __M_SNAPSHOT
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdatomic.h>
|
||||
|
||||
#include "m-atomic.h"
|
||||
#include "m-core.h"
|
||||
|
||||
/* Define a snapshot and it function
|
||||
|
||||
Reference in new issue
Block a user