Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-02-25 13:02:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-25 13:02:05 +0400
commitc955272ec52c59bf0e432609b21c40c048fd6e53 (patch)
treecaf8a0cb6ff29f7b139a863802fef214cb776056 /source/blender/blenlib/intern/math_vector_inline.c
parent57fd1fe00e2ec761c82cdcab9f6ce3c036bff3a0 (diff)
code cleanup
* correct cmake/clang warning. * use same include guard names as everywhere else for BLI math inline. * correct define for madd_sh_shfl
Diffstat (limited to 'source/blender/blenlib/intern/math_vector_inline.c')
-rw-r--r--source/blender/blenlib/intern/math_vector_inline.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/blenlib/intern/math_vector_inline.c b/source/blender/blenlib/intern/math_vector_inline.c
index 9c5d8f3261f..854494763af 100644
--- a/source/blender/blenlib/intern/math_vector_inline.c
+++ b/source/blender/blenlib/intern/math_vector_inline.c
@@ -30,8 +30,8 @@
#include "BLI_math.h"
-#ifndef BLI_MATH_VECTOR_INLINE_H
-#define BLI_MATH_VECTOR_INLINE_H
+#ifndef __MATH_VECTOR_INLINE_C__
+#define __MATH_VECTOR_INLINE_C__
/********************************** Init *************************************/
@@ -627,5 +627,4 @@ MINLINE float line_point_side_v2(const float l1[2], const float l2[2], const flo
((l2[0]-pt[0]) * (l1[1]-pt[1]));
}
-#endif /* BLI_MATH_VECTOR_INLINE_H */
-
+#endif /* __MATH_VECTOR_INLINE_C__ */