diff options
author | Jacques Lucke <jacques@blender.org> | 2020-07-16 12:33:35 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-07-16 12:33:35 +0300 |
commit | d4ce777aedcf041f8f51b971ca52e02afa361e0f (patch) | |
tree | 2f0bb8bf6f4b6018bf87d73d62a01e7f2c2d2feb /source/blender/blenlib/BLI_math_base_safe.h | |
parent | d89722868299afae8979e4b8dce9f40cb8576579 (diff) |
BLI: move inline include to the bottom to avoid redeclaration warning
Diffstat (limited to 'source/blender/blenlib/BLI_math_base_safe.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_base_safe.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenlib/BLI_math_base_safe.h b/source/blender/blenlib/BLI_math_base_safe.h index 42980c3f532..88a08c3cbc7 100644 --- a/source/blender/blenlib/BLI_math_base_safe.h +++ b/source/blender/blenlib/BLI_math_base_safe.h @@ -26,10 +26,6 @@ #include "BLI_math_base.h" -#if BLI_MATH_DO_INLINE -# include "intern/math_base_safe_inline.c" -#endif - #ifdef __cplusplus extern "C" { #endif @@ -47,4 +43,8 @@ MINLINE float safe_powf(float base, float exponent); } #endif +#if BLI_MATH_DO_INLINE +# include "intern/math_base_safe_inline.c" +#endif + #endif /* __BLI_MATH_BASE_SAFE_H__ */ |