diff options
Diffstat (limited to 'common/static_assert.h')
-rw-r--r-- | common/static_assert.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/static_assert.h b/common/static_assert.h index bf0ce065..3a554fb5 100644 --- a/common/static_assert.h +++ b/common/static_assert.h @@ -4,7 +4,7 @@ #include <assert.h> -#ifndef static_assert +#if !defined(static_assert) && !defined(__cplusplus) #ifdef HAVE_C11_STATIC_ASSERT #define static_assert _Static_assert #else |