BLI: move inline include to the bottom to avoid redeclaration warning
This commit is contained in:
@@ -26,10 +26,6 @@
|
|||||||
|
|
||||||
#include "BLI_math_base.h"
|
#include "BLI_math_base.h"
|
||||||
|
|
||||||
#if BLI_MATH_DO_INLINE
|
|
||||||
# include "intern/math_base_safe_inline.c"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
@@ -47,4 +43,8 @@ MINLINE float safe_powf(float base, float exponent);
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if BLI_MATH_DO_INLINE
|
||||||
|
# include "intern/math_base_safe_inline.c"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __BLI_MATH_BASE_SAFE_H__ */
|
#endif /* __BLI_MATH_BASE_SAFE_H__ */
|
||||||
|
Reference in New Issue
Block a user