Commit e867768e authored by Johan J's avatar Johan J Committed by Victor Zverovich

Do not override user provided compile flag

parent 0c7f5c3c
......@@ -112,12 +112,14 @@
#endif
// Check if exceptions are disabled.
#ifndef FMT_EXCEPTIONS
#if (defined(__GNUC__) && !defined(__EXCEPTIONS)) || \
FMT_MSC_VER && !_HAS_EXCEPTIONS
# define FMT_EXCEPTIONS 0
#else
# define FMT_EXCEPTIONS 1
#endif
#endif
// Define FMT_USE_NOEXCEPT to make fmt use noexcept (C++11 feature).
#ifndef FMT_USE_NOEXCEPT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment