Fix: Build error with clang on windows.
clang does not seem support the static_assert with message overload.
This commit is contained in:
parent
81b68f7279
commit
8452673a01
Notes:
blender-bot
2023-02-14 11:28:43 +01:00
Referenced by issue #65565, Hair Particle system not behaving
|
@ -89,7 +89,7 @@ extern "C" {
|
|||
# define BLI_STATIC_ASSERT(a, msg) static_assert(a, msg);
|
||||
#elif defined(_MSC_VER)
|
||||
/* Visual Studio */
|
||||
# if _MSC_VER > 1910
|
||||
# if (_MSC_VER > 1910) && !defined(__clang__)
|
||||
# define BLI_STATIC_ASSERT(a, msg) static_assert(a, msg);
|
||||
# else
|
||||
# define BLI_STATIC_ASSERT(a, msg) _STATIC_ASSERT(a);
|
||||
|
|
Loading…
Reference in New Issue