# HG changeset patch # User cslag # Date 1466275640 -7200 # Node ID 0baf4f79a8c51818463aec8ec9572a94c5c0591a # Parent 6da2a7ee2a86c429b9041043084e3312dca69748 - added __mips_n64 predef detection to macros.h diff -r 6da2a7ee2a86 -r 0baf4f79a8c5 dyncall/dyncall_macros.h --- 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. */