Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenkernel/BKE_cloth.h')
-rw-r--r--source/blender/blenkernel/BKE_cloth.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/source/blender/blenkernel/BKE_cloth.h b/source/blender/blenkernel/BKE_cloth.h
index 1ee51cd2122..a5c88000db2 100644
--- a/source/blender/blenkernel/BKE_cloth.h
+++ b/source/blender/blenkernel/BKE_cloth.h
@@ -35,6 +35,7 @@
*/
#include <float.h>
+#include "BLI_math_inline.h"
struct Object;
struct ListBase;
@@ -44,16 +45,7 @@ struct DerivedMesh;
struct ClothModifierData;
struct CollisionTree;
-// this is needed for inlining behaviour
-#if defined _WIN32
-# define DO_INLINE __inline
-#elif defined (__sgi)
-# define DO_INLINE
-#elif defined (__sun) || defined (__sun__)
-# define DO_INLINE
-#else
-# define DO_INLINE static inline
-#endif
+#define DO_INLINE MALWAYS_INLINE
#define CLOTH_MAX_THREAD 2