Mercurial > pub > dyncall > dyncall
changeset 112:0baf4f79a8c5
- added __mips_n64 predef detection to macros.h
author | cslag |
---|---|
date | Sat, 18 Jun 2016 20:47:20 +0200 |
parents | 6da2a7ee2a86 |
children | 6f37c4e5970d |
files | dyncall/dyncall_macros.h |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/dyncall/dyncall_macros.h Sat Jun 18 19:49:36 2016 +0200 +++ b/dyncall/dyncall_macros.h Sat Jun 18 20:47:20 2016 +0200 @@ -237,10 +237,10 @@ #if defined(DC__Arch_MIPS) || defined(DC__Arch_MIPS64) # if defined(_ABIO32) || defined(_MIPS_ARCH_MIPS1) || defined(_MIPS_ARCH_MIPS2) # define DC__ABI_MIPS_O32 +# elif defined(_ABI64) || defined(_mips_n64) +# define DC__ABI_MIPS_N64 # elif defined(_ABIN32) # define DC__ABI_MIPS_N32 -# elif defined(_ABI64) -# define DC__ABI_MIPS_N64 # else # define DC__ABI_MIPS_EABI # endif @@ -252,7 +252,7 @@ # else # define DC__ABI_PPC64_ELF_V 0 /* 0 means not explicitly set, otherwise this is 1 (big endian) and 2 (little endian) */ # endif -#endif /* MIPS */ +#endif /* PPC64 */ /* Endian detection. */