code cleanup

* correct cmake/clang warning.
* use same include guard names as everywhere else for BLI math inline.
* correct define for madd_sh_shfl
This commit is contained in:
2012-02-25 09:02:05 +00:00
parent 57fd1fe00e
commit c955272ec5
5 changed files with 16 additions and 20 deletions

View File

@@ -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__ */