From 5fea511ccec500f575898df33e9934dec075527c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 29 Oct 2018 11:51:41 -0700 Subject: Fix some more headers for C++ --- common/static_assert.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/static_assert.h') 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 -#ifndef static_assert +#if !defined(static_assert) && !defined(__cplusplus) #ifdef HAVE_C11_STATIC_ASSERT #define static_assert _Static_assert #else -- cgit v1.2.3