forked from bartvdbraak/blender
Apply small patch by Shane Ambler:
* inline of math funcs for Apple PPC * eltopo big/little endian ifdef
This commit is contained in:
parent
01744abd81
commit
bef9509565
@ -45,8 +45,13 @@ extern "C" {
|
||||
#define MALWAYS_INLINE MINLINE
|
||||
#else
|
||||
#define MINLINE static inline
|
||||
#if (defined(__APPLE__) && defined(__ppc__))
|
||||
/* static inline __attribute__ here breaks osx ppc gcc42 build */
|
||||
#define MALWAYS_INLINE static __attribute__((always_inline))
|
||||
#else
|
||||
#define MALWAYS_INLINE static inline __attribute__((always_inline))
|
||||
#endif
|
||||
#endif
|
||||
#else
|
||||
#define MINLINE
|
||||
#define MALWAYS_INLINE
|
||||
|
Loading…
Reference in New Issue
Block a user