[Bf-blender-cvs] [7a93abb2646] blender-v2.81-release: Fix Cycles failing to compile when "WITH_CYCLES_LOGGING" is off

Patrick Mours noreply at git.blender.org
Tue Nov 5 14:19:45 CET 2019


Commit: 7a93abb2646f3325946c4101b9ec71c58abe1f68
Author: Patrick Mours
Date:   Tue Nov 5 14:19:33 2019 +0100
Branches: blender-v2.81-release
https://developer.blender.org/rB7a93abb2646f3325946c4101b9ec71c58abe1f68

Fix Cycles failing to compile when "WITH_CYCLES_LOGGING" is off

===================================================================

M	intern/cycles/util/util_logging.h

===================================================================

diff --git a/intern/cycles/util/util_logging.h b/intern/cycles/util/util_logging.h
index 1a5e6666b32..3e56f0a0193 100644
--- a/intern/cycles/util/util_logging.h
+++ b/intern/cycles/util/util_logging.h
@@ -48,6 +48,7 @@ class LogMessageVoidify {
 #  define LOG_SUPPRESS() (true) ? ((void)0) : LogMessageVoidify() & StubStream()
 #  define LOG(severity) LOG_SUPPRESS()
 #  define VLOG(severity) LOG_SUPPRESS()
+#  define VLOG_IF(severity, condition) LOG_SUPPRESS()
 #endif
 
 #define VLOG_ONCE(level, flag) \



More information about the Bf-blender-cvs mailing list