mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[7420] Not set cdecl calling convention for x64 platform for Unic/Linux.
This will prevent generation "warning: 'cdecl' attribute ignored"
This commit is contained in:
parent
4dad8f40d0
commit
8bb451c85c
2 changed files with 3 additions and 1 deletions
|
|
@ -55,6 +55,8 @@
|
|||
# define MANGOS_GET_PROC_ADDR dlsym
|
||||
# if defined(__APPLE_CC__) && defined(BIG_ENDIAN)
|
||||
# define MANGOS_IMPORT __attribute__ ((longcall))
|
||||
# elif defined(__x86_64__)
|
||||
# define MANGOS_IMPORT
|
||||
# else
|
||||
# define MANGOS_IMPORT __attribute__ ((cdecl))
|
||||
# endif //__APPLE_CC__ && BIG_ENDIAN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue