[7420] Not set cdecl calling convention for x64 platform for Unic/Linux. Author: VladimirMangos
This will prevent generation "warning: 'cdecl' attribute ignored" --HG-- branch : trunk
This commit is contained in:
@@ -57,6 +57,8 @@
|
|||||||
# define TRINITY_GET_PROC_ADDR dlsym
|
# define TRINITY_GET_PROC_ADDR dlsym
|
||||||
# if defined(__APPLE_CC__) && defined(BIG_ENDIAN)
|
# if defined(__APPLE_CC__) && defined(BIG_ENDIAN)
|
||||||
# define TRINITY_IMPORT __attribute__ ((longcall))
|
# define TRINITY_IMPORT __attribute__ ((longcall))
|
||||||
|
# elif defined(__x86_64__)
|
||||||
|
# define TRINITY_IMPORT
|
||||||
# else
|
# else
|
||||||
# define TRINITY_IMPORT __attribute__ ((cdecl))
|
# define TRINITY_IMPORT __attribute__ ((cdecl))
|
||||||
# endif //__APPLE_CC__ && BIG_ENDIAN
|
# endif //__APPLE_CC__ && BIG_ENDIAN
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7419"
|
#define REVISION_NR "7420"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|||||||
Reference in New Issue
Block a user