[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
|
||||
# if defined(__APPLE_CC__) && defined(BIG_ENDIAN)
|
||||
# define TRINITY_IMPORT __attribute__ ((longcall))
|
||||
# elif defined(__x86_64__)
|
||||
# define TRINITY_IMPORT
|
||||
# else
|
||||
# define TRINITY_IMPORT __attribute__ ((cdecl))
|
||||
# endif //__APPLE_CC__ && BIG_ENDIAN
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7419"
|
||||
#define REVISION_NR "7420"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
||||
Reference in New Issue
Block a user