Skip to content

Commit

Permalink
Fix static_assert feature detection on clang
Browse files Browse the repository at this point in the history
  • Loading branch information
dean0x7d committed Nov 12, 2015
1 parent ef5e5e0 commit 7d94b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posix.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
# define FMT_USE_STATIC_ASSERT 0
#endif

#if FMT_USE_STATIC_ASSERT || FMT_HAS_CPP_ATTRIBUTE(cxx_static_assert) || \
#if FMT_USE_STATIC_ASSERT || FMT_HAS_FEATURE(cxx_static_assert) || \
(FMT_GCC_VERSION >= 403 && FMT_HAS_GXX_CXX11) || _MSC_VER >= 1600
# define FMT_STATIC_ASSERT(cond, message) static_assert(cond, message)
#else
Expand Down

0 comments on commit 7d94b5b

Please sign in to comment.