Port OSX fix from Zero

This commit is contained in:
Antz 2016-08-02 13:16:25 +01:00 committed by Antz
parent fb84ce7603
commit 44e39c440c

View file

@ -66,7 +66,11 @@ typedef ACE_SHLIB_HANDLE MANGOS_LIBRARY_HANDLE;
#else // PLATFORM != PLATFORM_WINDOWS #else // PLATFORM != PLATFORM_WINDOWS
# define MANGOS_EXPORT export # define MANGOS_EXPORT export
# if defined(__APPLE_CC__) && defined(BIG_ENDIAN) # if defined(__APPLE_CC__) && defined(BIG_ENDIAN)
# if (defined(__ppc__) || defined(__powerpc__))
# define MANGOS_IMPORT __attribute__ ((longcall)) # define MANGOS_IMPORT __attribute__ ((longcall))
# else
# define MANGOS_IMPORT
# endif
# elif defined(__x86_64__) # elif defined(__x86_64__)
# define MANGOS_IMPORT # define MANGOS_IMPORT
# else # else