mirror of
https://github.com/monero-project/monero.git
synced 2024-12-14 12:26:31 +02:00
Silence clang++ warnings
Using defined(foo) in a macro expansion is undefined.
This commit is contained in:
parent
9ed496bbc5
commit
710b2e80c6
6
external/easylogging++/easylogging++.h
vendored
6
external/easylogging++/easylogging++.h
vendored
@ -290,7 +290,11 @@ ELPP_INTERNAL_DEBUGGING_OUT_INFO << ELPP_INTERNAL_DEBUGGING_MSG(internalInfoStre
|
|||||||
#define ELPP_VARIADIC_TEMPLATES_SUPPORTED \
|
#define ELPP_VARIADIC_TEMPLATES_SUPPORTED \
|
||||||
(ELPP_COMPILER_GCC || ELPP_COMPILER_CLANG || ELPP_COMPILER_INTEL || (ELPP_COMPILER_MSVC && _MSC_VER >= 1800))
|
(ELPP_COMPILER_GCC || ELPP_COMPILER_CLANG || ELPP_COMPILER_INTEL || (ELPP_COMPILER_MSVC && _MSC_VER >= 1800))
|
||||||
// Logging Enable/Disable macros
|
// Logging Enable/Disable macros
|
||||||
#define ELPP_LOGGING_ENABLED (!defined(ELPP_DISABLE_LOGS))
|
#ifdef ELPP_DISABLE_LOGS
|
||||||
|
# define ELPP_LOGGING_ENABLED 0
|
||||||
|
#else
|
||||||
|
# define ELPP_LOGGING_ENABLED 1
|
||||||
|
#endif
|
||||||
#if (!defined(ELPP_DISABLE_DEBUG_LOGS) && (ELPP_LOGGING_ENABLED))
|
#if (!defined(ELPP_DISABLE_DEBUG_LOGS) && (ELPP_LOGGING_ENABLED))
|
||||||
# define ELPP_DEBUG_LOG 1
|
# define ELPP_DEBUG_LOG 1
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user