Change initialize a bit
[c11tester.git] / include / memoryorder.h
1 /**
2  * @file memoryorder.h
3  * @brief C11/C++11 atomic memory order listings
4  */
5
6 #ifndef MEMORYORDER_H
7 #define MEMORYORDER_H
8 #ifdef __cplusplus
9 #include <cstddef>
10 namespace std {
11 #else
12 #include <stddef.h>
13 #endif
14
15 typedef enum memory_order {
16         memory_order_relaxed, memory_order_consume, memory_order_acquire,
17         memory_order_release, memory_order_acq_rel, memory_order_seq_cst
18 } memory_order;
19
20 #ifdef __cplusplus
21 }
22 #endif
23
24
25
26 #endif