diff options
author | Naios <naios-dev@live.de> | 2015-12-08 16:26:58 +0100 |
---|---|---|
committer | Naios <naios-dev@live.de> | 2015-12-08 16:46:15 +0100 |
commit | 7773984f94a15f45e0260e6478edf991c77d6e87 (patch) | |
tree | 1a121555bfd472db1ca85b40bb0081182acdcff5 /dep/cppformat/posix.h | |
parent | 187e45d24b07613447e449565cdff8015c3220ac (diff) |
Dep/CppFormat: Update cppformat to cppformat/cppformat@5c76d107cbaf
(cherry picked from commit aa3020c26d54fa63fde16c5a765b1d72649c7e30)
Diffstat (limited to 'dep/cppformat/posix.h')
-rw-r--r-- | dep/cppformat/posix.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dep/cppformat/posix.h b/dep/cppformat/posix.h index 722690a8b33..88bcb4f557b 100644 --- a/dep/cppformat/posix.h +++ b/dep/cppformat/posix.h @@ -69,7 +69,11 @@ # define FMT_UNUSED #endif -#if FMT_USE_STATIC_ASSERT || FMT_HAS_CPP_ATTRIBUTE(cxx_static_assert) || \ +#ifndef FMT_USE_STATIC_ASSERT +# define FMT_USE_STATIC_ASSERT 0 +#endif + +#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 |