Skip to content

Commit

Permalink
fix: use _Static_assert on GCC back to 4.6.0
Browse files Browse the repository at this point in the history
I'm not sure why I had previously changed it from 4.6.0 to 6.0.0,
AFAICT it is supported as far back as 4.6.0...
  • Loading branch information
nemequ committed Sep 20, 2024
1 parent a9229ef commit 98d889a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hedley.h
Original file line number Diff line number Diff line change
Expand Up @@ -1924,7 +1924,7 @@ HEDLEY_DIAGNOSTIC_POP
!defined(__cplusplus) && ( \
(defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)) || \
(HEDLEY_HAS_FEATURE(c_static_assert) && !defined(HEDLEY_INTEL_CL_VERSION)) || \
HEDLEY_GCC_VERSION_CHECK(6,0,0) || \
HEDLEY_GCC_VERSION_CHECK(4,6,0) || \
HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
defined(_Static_assert) \
)
Expand Down

0 comments on commit 98d889a

Please sign in to comment.