[Bf-blender-cvs] [eca6e4cb2d4] experimental-build: Fix stupid mistake...
Bastien Montagne
noreply at git.blender.org
Thu Nov 23 12:59:56 CET 2017
Commit: eca6e4cb2d485bb66d11a11f83efcce6a8341c07
Author: Bastien Montagne
Date: Thu Nov 23 12:59:45 2017 +0100
Branches: experimental-build
https://developer.blender.org/rBeca6e4cb2d485bb66d11a11f83efcce6a8341c07
Fix stupid mistake...
===================================================================
M source/blender/blenlib/BLI_utildefines.h
===================================================================
diff --git a/source/blender/blenlib/BLI_utildefines.h b/source/blender/blenlib/BLI_utildefines.h
index ca5cdf31de5..389f433426e 100644
--- a/source/blender/blenlib/BLI_utildefines.h
+++ b/source/blender/blenlib/BLI_utildefines.h
@@ -667,7 +667,7 @@ extern bool BLI_memory_is_zero(const void *arr, const size_t arr_size);
# define ASSERT_CONCAT_(a, b) a##b
# define ASSERT_CONCAT(a, b) ASSERT_CONCAT_(a, b)
/* These can't be used after statements in c89. */
-# ifdef (__COUNTER__) /* MSVC */
+# if defined(__COUNTER__) /* MSVC */
# define BLI_STATIC_ASSERT(a, msg) \
; enum { ASSERT_CONCAT(static_assert_, __COUNTER__) = 1 / (int)(!!(a)) }
# else /* older gcc, clang... */
More information about the Bf-blender-cvs
mailing list