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:
Patrick Pelissier committed 2017-04-13 21:50:16 +02:00
1 parent c433df06c0
commit 72c5c3f371
4 files changed
+98 -3

No files matched your search

+1 -1
View File
@@ -28,9 +28,9 @@
#include <stdlib.h>
#include <stdbool.h>
#include <assert.h>
#include <stdatomic.h>
#include "m-core.h"
#include "m-atomic.h"
/* Define the oplist of a intrusive shared pointer.
USAGE: ISHARED_OPLIST(name [, oplist_of_the_type]) */