diff options
author | Taras Kondratiuk <taras.kondratiuk@linaro.org> | 2014-07-21 20:17:11 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2014-07-23 13:31:48 +0400 |
commit | f0eedc78beb313a01c8ecbb0b4140fa75e00733f (patch) | |
tree | b8012485fba60137fb5c16f4153e9f7140f3ad9b /include | |
parent | 73c1134b316d8e57be362953b7ad03deb5be1b08 (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.h | 2 |
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. |