[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:
megamage
2009-03-09 17:46:07 -06:00
parent 7b43f68ff7
commit 0a6ef039b2
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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 -1
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__