Ring buffer: use shmp (shared-memory pointers) for per-channel shm structures
[lttng-ust.git] / include / ust / bug.h
index 8243cc94a7b7447531cc7d7596400a0f63038f3b..96007c3fb777a5c072f4b6db08151f99dd196026 100644 (file)
@@ -9,6 +9,9 @@
  * Dual LGPL v2.1/GPL v2 license.
  */
 
+#define BUILD_BUG_ON(condition)                                        \
+       ((void) sizeof(char[-!!(condition)]))
+
 /**
  * BUILD_RUNTIME_BUG_ON - check condition at build (if constant) or runtime
  * @condition: the condition which should be false.
This page took 0.023024 seconds and 4 git commands to generate.