diff options
author | Chris Robinson <[email protected]> | 2018-10-29 11:51:41 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-10-29 11:51:41 -0700 |
commit | 5fea511ccec500f575898df33e9934dec075527c (patch) | |
tree | f7112a50b2d76a28d5b30a8bf8e523442dafde90 /common/static_assert.h | |
parent | 662e1c5cc2107d45895ac4f6d8c598c89016eaeb (diff) |
Fix some more headers for C++
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 |