projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
configure: regroup and expand C header and program checks
[userspace-rcu.git]
/
include
/
urcu
/
debug.h
diff --git
a/include/urcu/debug.h
b/include/urcu/debug.h
index 327bd92331088d2bf29df45d85c329109100dad6..4a7eac9aa70dd72d3be1b5d9036b7700847eeaf8 100644
(file)
--- a/
include/urcu/debug.h
+++ b/
include/urcu/debug.h
@@
-21,7
+21,9
@@
#include <assert.h>
-#ifdef DEBUG_RCU
+#include <urcu/config.h>
+
+#if defined(DEBUG_RCU) || defined(CONFIG_RCU_DEBUG)
#define urcu_assert(...) assert(__VA_ARGS__)
#else
#define urcu_assert(...)
This page took
0.023615 seconds
and
4
git commands to generate.