[#19036] blender should use 'static inline' in BKE_cloth.h to work with C99

Török Edwin (edwintorok)

this was the only thing stopping blender being compiled with clang
This commit is contained in:
Campbell Barton
2009-07-28 01:48:10 +00:00
parent dd918da8de
commit ddb09d3220

View File

@@ -64,8 +64,7 @@ struct CollisionTree;
#elif defined (__sun) || defined (__sun__)
# define DO_INLINE
#else
# define DO_INLINE inline
# define LINUX
# define DO_INLINE static inline
#endif
#define CLOTH_MAX_THREAD 2