diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-07-28 05:48:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-07-28 05:48:10 +0400 |
commit | ddb09d3220a3e2efa755cb46e474f5ceb53c4aa4 (patch) | |
tree | b726758af09df620b23b5a406496695f8b70771f /source/blender/blenkernel/BKE_cloth.h | |
parent | dd918da8de8b885d90420dc86351a4996dbd6ea6 (diff) |
[#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
Diffstat (limited to 'source/blender/blenkernel/BKE_cloth.h')
-rw-r--r-- | source/blender/blenkernel/BKE_cloth.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_cloth.h b/source/blender/blenkernel/BKE_cloth.h index 28c826d17c3..b537536043d 100644 --- a/source/blender/blenkernel/BKE_cloth.h +++ b/source/blender/blenkernel/BKE_cloth.h @@ -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 |