forked from bartvdbraak/blender
Partial commit of patch #8812 (fixing inlining on sunOS)
This commit is contained in:
parent
7751a18c0b
commit
bdafa1dd91
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user