Skip to content

Commit 4dba7e8

Browse files
authored
Replace "alternative" boolean operator in conditional compilation directive (#6949)
1 parent b736833 commit 4dba7e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/log.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ inline std::string log_filename_generator_impl(LogTriState multilog, const std::
234234
// INTERNAL, DO NOT USE
235235
// USE LOG() INSTEAD
236236
//
237-
#if !defined(_MSC_VER) or defined(__INTEL_LLVM_COMPILER)
237+
#if !defined(_MSC_VER) || defined(__INTEL_LLVM_COMPILER)
238238
#define LOG_IMPL(str, ...) \
239239
do { \
240240
if (LOG_TARGET != nullptr) \
@@ -257,7 +257,7 @@ inline std::string log_filename_generator_impl(LogTriState multilog, const std::
257257
// INTERNAL, DO NOT USE
258258
// USE LOG_TEE() INSTEAD
259259
//
260-
#if !defined(_MSC_VER) or defined(__INTEL_LLVM_COMPILER)
260+
#if !defined(_MSC_VER) || defined(__INTEL_LLVM_COMPILER)
261261
#define LOG_TEE_IMPL(str, ...) \
262262
do { \
263263
if (LOG_TARGET != nullptr) \

0 commit comments

Comments
 (0)