action: switch from "libatomic" to C++-spec "memory_order_*" macros
[c11tester.git] / action.h
index e43955dda2826d980f632bf62af4e08397594d45..36cec25dcf05cd9d24e971b22c6626e64585bde4 100644 (file)
--- a/action.h
+++ b/action.h
 #include "threads.h"
 #include "mymemory.h"
 #include "clockvector.h"
-#include "libatomic.h"
+#include "memoryorder.h"
+
+using std::memory_order;
+using std::memory_order_relaxed;
+using std::memory_order_acquire;
+using std::memory_order_release;
+using std::memory_order_acq_rel;
+using std::memory_order_seq_cst;
 
 /** Note that this value can be legitimately used by a program, and
                hence by iteself does not indicate no value. */