From d4ce777aedcf041f8f51b971ca52e02afa361e0f Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Thu, 16 Jul 2020 11:33:35 +0200 Subject: BLI: move inline include to the bottom to avoid redeclaration warning --- source/blender/blenlib/BLI_math_base_safe.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/blenlib') 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__ */ -- cgit v1.2.3