Cleanup: remove check for old GCC&PPC
This commit is contained in:
@@ -63,12 +63,7 @@
|
||||
#if defined(_MSC_VER)
|
||||
# define ATOMIC_INLINE static __forceinline
|
||||
#else
|
||||
# if (defined(__APPLE__) && defined(__ppc__))
|
||||
/* static inline __attribute__ here breaks osx ppc gcc42 build */
|
||||
# define ATOMIC_INLINE static __attribute__((always_inline))
|
||||
# else
|
||||
# define ATOMIC_INLINE static inline __attribute__((always_inline))
|
||||
# endif
|
||||
# define ATOMIC_INLINE static inline __attribute__((always_inline))
|
||||
#endif
|
||||
|
||||
#ifndef LIKELY
|
||||
|
@@ -48,12 +48,7 @@ extern "C++" {
|
||||
#if defined(_MSC_VER)
|
||||
# define BLI_INLINE static __forceinline
|
||||
#else
|
||||
# if (defined(__APPLE__) && defined(__ppc__))
|
||||
/* static inline __attribute__ here breaks osx ppc gcc42 build */
|
||||
# define BLI_INLINE static __attribute__((always_inline)) __attribute__((__unused__))
|
||||
# else
|
||||
# define BLI_INLINE static inline __attribute__((always_inline)) __attribute__((__unused__))
|
||||
# endif
|
||||
# define BLI_INLINE static inline __attribute__((always_inline)) __attribute__((__unused__))
|
||||
#endif
|
||||
|
||||
#endif /* __BLI_COMPILER_COMPAT_H__ */
|
||||
|
@@ -44,12 +44,7 @@ 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)) __attribute__((unused))
|
||||
# else
|
||||
# define MALWAYS_INLINE static inline __attribute__((always_inline)) __attribute__((unused))
|
||||
# endif
|
||||
# define MALWAYS_INLINE static inline __attribute__((always_inline)) __attribute__((unused))
|
||||
# endif
|
||||
#else
|
||||
# define MINLINE
|
||||
|
Reference in New Issue
Block a user