Apply small patch by Shane Ambler:

* inline of math funcs for Apple PPC
* eltopo big/little endian ifdef
This commit is contained in:
Nathan Letwory 2011-09-09 12:23:45 +00:00
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