diff options
author | Lukas Mai <l.mai@web.de> | 2017-10-13 22:58:40 +0200 |
---|---|---|
committer | Lukas Mai <l.mai@web.de> | 2017-10-13 22:58:40 +0200 |
commit | 21aae866e23053ea9fded1524d35b5ec6dbb119c (patch) | |
tree | 3b38fb73e3e31f84ef704da157479b6d87577a48 | |
parent | 1a1e0afc4e5562c1b92b035527b7024adc8a24f0 (diff) | |
download | perl-21aae866e23053ea9fded1524d35b5ec6dbb119c.tar.gz |
use standard STMT_START/STMT_END macros in STATIC_ASSERT_STMT
-rw-r--r-- | perl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3721,7 +3721,7 @@ EXTERN_C int perl_tsa_mutex_unlock(perl_mutex* mutex) /* We need this wrapper even in C11 because 'case X: static_assert(...);' is an error (static_assert is a declaration, and only statements can have labels). */ -#define STATIC_ASSERT_STMT(COND) do { STATIC_ASSERT_DECL(COND); } while (0) +#define STATIC_ASSERT_STMT(COND) STMT_START { STATIC_ASSERT_DECL(COND); } STMT_END #ifndef __has_builtin # define __has_builtin(x) 0 /* not a clang style compiler */ |