diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-25 11:53:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-25 11:53:11 +0400 |
commit | 95ddd19d1385cd2ab2962a62013ae7493de960e7 (patch) | |
tree | f1a1750ed7f3a70fc89ff13497ea7dad545cd0d5 /source/blender/blenlib/BLI_utildefines.h | |
parent | 9804515cf03997f8ef180f3b5951ddcb9f5b9fba (diff) |
fix for build error in own commit with non gcc compilers. (and remove invalid comment)
Diffstat (limited to 'source/blender/blenlib/BLI_utildefines.h')
-rw-r--r-- | source/blender/blenlib/BLI_utildefines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_utildefines.h b/source/blender/blenlib/BLI_utildefines.h index 22312a52e87..c27ea7146b5 100644 --- a/source/blender/blenlib/BLI_utildefines.h +++ b/source/blender/blenlib/BLI_utildefines.h @@ -352,7 +352,7 @@ # define BLI_STATIC_ASSERT(a, msg) _Static_assert(a, msg); #else /* TODO msvc, clang */ -# define BLI_STATIC_ASSERT(a, msg) (void)0 +# define BLI_STATIC_ASSERT(a, msg) #endif /* hints for branch pradiction, only use in code that runs a _lot_ where */ |