Mercurial > pub > dyncall > dyncall
diff dyncall/dyncall_macros.h @ 115:b0d5b49bf418
- added more macros to detect MIPS platforms
author | cslag |
---|---|
date | Thu, 23 Jun 2016 12:21:07 +0200 |
parents | 0baf4f79a8c5 |
children | f0437f85091b |
line wrap: on
line diff
--- 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