mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 09:28:21 +00:00
Fix warning when building with -Wundef and disabled exceptions
This commit is contained in:
parent
9954aa064b
commit
41ebedf516
@ -52,7 +52,7 @@
|
|||||||
using fmt::internal::Arg;
|
using fmt::internal::Arg;
|
||||||
|
|
||||||
// Check if exceptions are disabled.
|
// Check if exceptions are disabled.
|
||||||
#if __GNUC__ && !__EXCEPTIONS
|
#if defined(__GNUC__) && !defined(__EXCEPTIONS)
|
||||||
# define FMT_EXCEPTIONS 0
|
# define FMT_EXCEPTIONS 0
|
||||||
#endif
|
#endif
|
||||||
#if defined(_MSC_VER) && !_HAS_EXCEPTIONS
|
#if defined(_MSC_VER) && !_HAS_EXCEPTIONS
|
||||||
|
Loading…
Reference in New Issue
Block a user