projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wfstack tests: use pop "last" state info
[userspace-rcu.git]
/
tests
/
test_uatomic.c
diff --git
a/tests/test_uatomic.c
b/tests/test_uatomic.c
index 4f48276ae53d147897cb2b5095dd2510170fc815..804ce7bd8a79b1945f9fcd9ea5098d3f34a7a971 100644
(file)
--- a/
tests/test_uatomic.c
+++ b/
tests/test_uatomic.c
@@
-25,8
+25,12
@@
#include <urcu/uatomic.h>
struct testvals {
#include <urcu/uatomic.h>
struct testvals {
+#ifdef UATOMIC_HAS_ATOMIC_BYTE
unsigned char c;
unsigned char c;
+#endif
+#ifdef UATOMIC_HAS_ATOMIC_SHORT
unsigned short s;
unsigned short s;
+#endif
unsigned int i;
unsigned long l;
};
unsigned int i;
unsigned long l;
};
This page took
0.02881 seconds
and
4
git commands to generate.