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:
authorCampbell Barton <ideasman42@gmail.com>2009-07-28 05:48:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-07-28 05:48:10 +0400
commitddb09d3220a3e2efa755cb46e474f5ceb53c4aa4 (patch)
treeb726758af09df620b23b5a406496695f8b70771f /source/blender/blenkernel/BKE_cloth.h
parentdd918da8de8b885d90420dc86351a4996dbd6ea6 (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.h3
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