[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:
VladimirMangos 2009-03-09 10:07:41 +03:00
parent 4dad8f40d0
commit 8bb451c85c
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7419"
#define REVISION_NR "7420"
#endif // __REVISION_NR_H__