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:
authorDaniel Genrich <daniel.genrich@gmx.net>2008-04-10 20:36:46 +0400
committerDaniel Genrich <daniel.genrich@gmx.net>2008-04-10 20:36:46 +0400
commitbdafa1dd91a70e8f6e9401e6f5d8289680026961 (patch)
treebbd4bf18ea688644fa55858c3f1c4d84bef4fcad /source/blender/blenkernel/BKE_cloth.h
parent7751a18c0b6f984a014717310d56d14d6e5b1a86 (diff)
Partial commit of patch #8812 (fixing inlining on sunOS)
Diffstat (limited to 'source/blender/blenkernel/BKE_cloth.h')
-rw-r--r--source/blender/blenkernel/BKE_cloth.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/blenkernel/BKE_cloth.h b/source/blender/blenkernel/BKE_cloth.h
index f1a439e2e04..6070c5631b4 100644
--- a/source/blender/blenkernel/BKE_cloth.h
+++ b/source/blender/blenkernel/BKE_cloth.h
@@ -60,15 +60,15 @@ struct ClothModifierData;
struct CollisionTree;
// this is needed for inlining behaviour
-#ifndef _WIN32
-#define LINUX
-#ifndef __sgi
-#define DO_INLINE inline
+#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
-#endif
-#else
-#define DO_INLINE __inline
+# define DO_INLINE inline
+# define LINUX
#endif
#define CLOTH_MAX_THREAD 2