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_base_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_base_inline.c')
-rw-r--r-- | source/blender/blenlib/intern/math_base_inline.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/blenlib/intern/math_base_inline.c b/source/blender/blenlib/intern/math_base_inline.c index 7e04e0ae566..2fd1a506004 100644 --- a/source/blender/blenlib/intern/math_base_inline.c +++ b/source/blender/blenlib/intern/math_base_inline.c @@ -35,8 +35,8 @@ #include "BLI_math.h" -#ifndef BLI_MATH_BASE_INLINE_H -#define BLI_MATH_BASE_INLINE_H +#ifndef __MATH_BASE_INLINE_C__ +#define __MATH_BASE_INLINE_C__ /* A few small defines. Keep'em local! */ #define SMALL_NUMBER 1.e-8f @@ -156,5 +156,4 @@ MINLINE float signf(float f) } -#endif /* BLI_MATH_BASE_INLINE_H */ - +#endif /* __MATH_BASE_INLINE_C__ */ |