diff options
author | mgroeber9110 <45620825+mgroeber9110@users.noreply.github.com> | 2024-04-27 21:02:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-27 21:02:06 +0200 |
commit | 4dba7e8114d84241c842b986e008af8b88d1a019 (patch) | |
tree | 24fb214780a6b6637746280774f9a3bdbbcbdebe /common/log.h | |
parent | b7368332e24c5b2c8038bf8267f43632783fcc35 (diff) |
Replace "alternative" boolean operator in conditional compilation directive (#6949)
Diffstat (limited to 'common/log.h')
-rw-r--r-- | common/log.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/log.h b/common/log.h index e4edcac7..2b2f0e45 100644 --- a/common/log.h +++ b/common/log.h @@ -234,7 +234,7 @@ inline std::string log_filename_generator_impl(LogTriState multilog, const std:: // INTERNAL, DO NOT USE // USE LOG() INSTEAD // -#if !defined(_MSC_VER) or defined(__INTEL_LLVM_COMPILER) +#if !defined(_MSC_VER) || defined(__INTEL_LLVM_COMPILER) #define LOG_IMPL(str, ...) \ do { \ if (LOG_TARGET != nullptr) \ @@ -257,7 +257,7 @@ inline std::string log_filename_generator_impl(LogTriState multilog, const std:: // INTERNAL, DO NOT USE // USE LOG_TEE() INSTEAD // -#if !defined(_MSC_VER) or defined(__INTEL_LLVM_COMPILER) +#if !defined(_MSC_VER) || defined(__INTEL_LLVM_COMPILER) #define LOG_TEE_IMPL(str, ...) \ do { \ if (LOG_TARGET != nullptr) \ |