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:
committed by
Brecht Van Lommel
parent
2b86b32fc3
commit
73fe848e07
@@ -163,7 +163,7 @@ const char *device_kernel_as_string(DeviceKernel kernel)
|
||||
break;
|
||||
};
|
||||
#ifndef __KERNEL_ONEAPI__
|
||||
LOG(FATAL) << "Unhandled kernel " << static_cast<int>(kernel) << ", should never happen.";
|
||||
LOG_FATAL << "Unhandled kernel " << static_cast<int>(kernel) << ", should never happen.";
|
||||
#endif
|
||||
return "UNKNOWN";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user