Fix BUG_ON handling
[lttng-ust.git] / include / lttng / align.h
index 0a5363ea3e7161897465b469c52617f32dd2adc7..283926826d2c520999fecf57bf1bd43a6c2305c1 100644 (file)
@@ -36,7 +36,7 @@
  */
 #define offset_align(align_drift, alignment)                                  \
        ({                                                                     \
-               BUILD_RUNTIME_BUG_ON((alignment) == 0                          \
+               LTTNG_BUILD_RUNTIME_BUG_ON((alignment) == 0                    \
                                   || ((alignment) & ((alignment) - 1)));      \
                (((alignment) - (align_drift)) & ((alignment) - 1));           \
        })
@@ -51,7 +51,7 @@
  */
 #define offset_align_floor(align_drift, alignment)                            \
        ({                                                                     \
-               BUILD_RUNTIME_BUG_ON((alignment) == 0                          \
+               LTTNG_BUILD_RUNTIME_BUG_ON((alignment) == 0                    \
                                   || ((alignment) & ((alignment) - 1)));      \
                (((align_drift) - (alignment)) & ((alignment) - 1);            \
        })
This page took 0.025257 seconds and 4 git commands to generate.