mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 09:28:21 +00:00
Do not override user provided compile flag
This commit is contained in:
parent
0c7f5c3ca4
commit
e867768ee6
@ -112,12 +112,14 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Check if exceptions are disabled.
|
// Check if exceptions are disabled.
|
||||||
|
#ifndef FMT_EXCEPTIONS
|
||||||
#if (defined(__GNUC__) && !defined(__EXCEPTIONS)) || \
|
#if (defined(__GNUC__) && !defined(__EXCEPTIONS)) || \
|
||||||
FMT_MSC_VER && !_HAS_EXCEPTIONS
|
FMT_MSC_VER && !_HAS_EXCEPTIONS
|
||||||
# define FMT_EXCEPTIONS 0
|
# define FMT_EXCEPTIONS 0
|
||||||
#else
|
#else
|
||||||
# define FMT_EXCEPTIONS 1
|
# define FMT_EXCEPTIONS 1
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// Define FMT_USE_NOEXCEPT to make fmt use noexcept (C++11 feature).
|
// Define FMT_USE_NOEXCEPT to make fmt use noexcept (C++11 feature).
|
||||||
#ifndef FMT_USE_NOEXCEPT
|
#ifndef FMT_USE_NOEXCEPT
|
||||||
|
Loading…
Reference in New Issue
Block a user