aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTaras Kondratiuk <taras.kondratiuk@linaro.org>2014-07-21 20:17:11 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2014-07-23 13:31:48 +0400
commitf0eedc78beb313a01c8ecbb0b4140fa75e00733f (patch)
treeb8012485fba60137fb5c16f4153e9f7140f3ad9b /include
parent73c1134b316d8e57be362953b7ad03deb5be1b08 (diff)
debug: Fix ODP_STATIC_ASSERT
GCC provides _Static_assert() function. Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org> Reviewed-by: Anders Roxell <anders.roxell@linaro.org> Tested-by: Mike Holmes <mike.holmes@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/odp_debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/odp_debug.h b/include/odp_debug.h
index 166716d4..edc775f2 100644
--- a/include/odp_debug.h
+++ b/include/odp_debug.h
@@ -46,7 +46,7 @@ extern "C" {
* Compile time assertion-macro - fail compilation if cond is false.
* @note This macro has zero runtime overhead
*/
-#define ODP_STATIC_ASSERT(cond, msg) _static_assert(cond, msg)
+#define ODP_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg)
/**
* Debug printing macro, which prints output when DEBUG flag is set.