# HG changeset patch # User cslag # Date 1466677267 -7200 # Node ID b0d5b49bf4180aca5a772831c660f887479a484c # Parent 15b88cd935c4986429a77c9071d8b35bdd909d45 - added more macros to detect MIPS platforms diff -r 15b88cd935c4 -r b0d5b49bf418 dyncall/dyncall_macros.h --- a/dyncall/dyncall_macros.h Sat Jun 18 21:17:27 2016 +0200 +++ b/dyncall/dyncall_macros.h Thu Jun 23 12:21:07 2016 +0200 @@ -272,9 +272,9 @@ DC__Arch_Sparcv9 DC__Arch_SuperH */ -# if (defined(DC__Arch_PPC64) && (DC__ABI_PPC64_ELF_V == 1)) || defined(_BIG_ENDIAN) || defined(MIPSEB) || defined(__MIPSEB__) +# if (defined(DC__Arch_PPC64) && (DC__ABI_PPC64_ELF_V == 1)) || defined(_BIG_ENDIAN) || defined(MIPSEB) || defined(__MIPSEB) || defined(__MIPSEB__) # define DC__Endian_BIG -# elif (defined(DC__Arch_PPC64) && (DC__ABI_PPC64_ELF_V == 2)) || defined(_LITTLE_ENDIAN) || defined(MIPSEL) || defined(__MIPSEL__) +# elif (defined(DC__Arch_PPC64) && (DC__ABI_PPC64_ELF_V == 2)) || defined(_LITTLE_ENDIAN) || defined(MIPSEL) || defined(__MIPSEL) || defined(__MIPSEL__) # define DC__Endian_LITTLE # endif /* no else, leave unset if not sure */ #endif