fix: warnings on non-Linux platforms
[urcu.git] / include / urcu / debug.h
index 327bd92331088d2bf29df45d85c329109100dad6..4a7eac9aa70dd72d3be1b5d9036b7700847eeaf8 100644 (file)
@@ -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.022744 seconds and 4 git commands to generate.