diff --git a/perl.h b/perl.h index dcb184b..3e7cde2 100644 --- a/perl.h +++ b/perl.h @@ -3543,7 +3543,8 @@ typedef pthread_key_t perl_key; STATIC_ASSERT_STMT expands to a statement and is suitable for use inside a function. */ -#if (defined(static_assert) || (defined(__cplusplus) && __cplusplus >= 201103L)) && (!defined(__IBMC__) || __IBMC__ >= 1210) +#if (defined(static_assert) || (defined(__cplusplus) && __cplusplus >= 201103L)) && (!defined(__IBMC__) || __IBMC__ >= 1210) && (!defined(__LCC__)) + /* static_assert is a macro defined in in C11 or a compiler builtin in C++11. */