projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added WeakRingBuffer - a single-producer/single-consumer queue based on ring buffer
[libcds.git]
/
cds
/
compiler
/
defs.h
diff --git
a/cds/compiler/defs.h
b/cds/compiler/defs.h
index 69f016709304dda7128ad5ed33df4fee8487f3dc..a70ee5b9334b868f292273e0c0ed949774b7a2f3 100644
(file)
--- a/
cds/compiler/defs.h
+++ b/
cds/compiler/defs.h
@@
-66,6
+66,10
@@
# define cds_unlikely( expr ) expr
#endif
+#ifndef static_if
+# define static_if if
+#endif
+
// Features
#include <cds/compiler/feature_tsan.h>