mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
Port OSX fix from Zero
This commit is contained in:
parent
fb84ce7603
commit
44e39c440c
1 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||||
# define MANGOS_IMPORT __attribute__ ((longcall))
|
# if (defined(__ppc__) || defined(__powerpc__))
|
||||||
|
# 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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue