diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-25 13:02:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-25 13:02:05 +0400 |
commit | c955272ec52c59bf0e432609b21c40c048fd6e53 (patch) | |
tree | caf8a0cb6ff29f7b139a863802fef214cb776056 /source/blender/blenlib/intern/math_vector_inline.c | |
parent | 57fd1fe00e2ec761c82cdcab9f6ce3c036bff3a0 (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.c | 7 |
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__ */ |