diff options
| author | megamage <none@none> | 2009-03-09 17:46:07 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-03-09 17:46:07 -0600 |
| commit | 0a6ef039b2586707c0fcc6a6cf5a601ad1c341d9 (patch) | |
| tree | 6336a786e64db6f270f794e3959673e36507eea4 /src/framework | |
| parent | 7b43f68ff78bb626b5c842f1cf904b7639131da1 (diff) | |
[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
Diffstat (limited to 'src/framework')
| -rw-r--r-- | src/framework/Platform/Define.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/framework/Platform/Define.h b/src/framework/Platform/Define.h index 7a7bdcab419..59c2418c745 100644 --- a/src/framework/Platform/Define.h +++ b/src/framework/Platform/Define.h @@ -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 |
