Fix: Cycles log levels conflict with macros on some platforms

In particular DEBUG, but prefix all of them to be sure.

Pull Request: https://projects.blender.org/blender/blender/pulls/141749
This commit is contained in:
Brecht Van Lommel
2025-07-10 19:44:14 +02:00
committed by Brecht Van Lommel
parent 2b86b32fc3
commit 73fe848e07
93 changed files with 660 additions and 651 deletions

View File

@@ -68,7 +68,7 @@ void TaskScheduler::init(const int num_threads)
}
if (num_threads > 0) {
/* Automatic number of threads. */
LOG(INFO) << "Overriding number of TBB threads to " << num_threads << ".";
LOG_INFO << "Overriding number of TBB threads to " << num_threads << ".";
global_control = make_unique<tbb::global_control>(tbb::global_control::max_allowed_parallelism,
num_threads);
active_num_threads = num_threads;