]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Replace "alternative" boolean operator in conditional compilation directive (#6949)
authormgroeber9110 <redacted>
Sat, 27 Apr 2024 19:02:06 +0000 (21:02 +0200)
committerGitHub <redacted>
Sat, 27 Apr 2024 19:02:06 +0000 (21:02 +0200)
common/log.h

index e4edcac7d77355b793e67f7de186970e1858a607..2b2f0e4551d7ab1513781305d98d22b996bec433 100644 (file)
@@ -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)                                                                                                      \