Skip to content

Commit

Permalink
Merge pull request #228 from dean0x7d/fix_warning
Browse files Browse the repository at this point in the history
Fix static_assert feature detection on clang
  • Loading branch information
vitaut committed Nov 12, 2015
2 parents ef5e5e0 + 7d94b5b commit 3df9bf3
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 3df9bf3

Please sign in to comment.