Fix warning when building with -Wundef and disabled exceptions

This commit is contained in:
Ingo van Lil 2015-11-03 11:21:09 +01:00
parent 9954aa064b
commit 41ebedf516

View File

@ -52,7 +52,7 @@
using fmt::internal::Arg;
// Check if exceptions are disabled.
#if __GNUC__ && !__EXCEPTIONS
#if defined(__GNUC__) && !defined(__EXCEPTIONS)
# define FMT_EXCEPTIONS 0
#endif
#if defined(_MSC_VER) && !_HAS_EXCEPTIONS