diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2008-04-10 20:36:46 +0400 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2008-04-10 20:36:46 +0400 |
commit | bdafa1dd91a70e8f6e9401e6f5d8289680026961 (patch) | |
tree | bbd4bf18ea688644fa55858c3f1c4d84bef4fcad /source/blender/blenkernel | |
parent | 7751a18c0b6f984a014717310d56d14d6e5b1a86 (diff) |
Partial commit of patch #8812 (fixing inlining on sunOS)
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_cloth.h | 16 |
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 |