changeset 115:b0d5b49bf418

- added more macros to detect MIPS platforms
author cslag
date Thu, 23 Jun 2016 12:21:07 +0200
parents 15b88cd935c4
children c5cb02203df4
files dyncall/dyncall_macros.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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