Mercurial > pub > dyncall > dyncall
comparison dyncall/dyncall_macros.h @ 261:b625f2e11911
- added _MIPSE[BL] to (long) list of mips endian detection #ifdefs
author | Tassilo Philipp |
---|---|
date | Mon, 22 May 2017 16:49:59 +0200 |
parents | 9d70178c1ded |
children | 03f0b683918a |
comparison
equal
deleted
inserted
replaced
260:1a44e750a6ec | 261:b625f2e11911 |
---|---|
271 DC__Arch_Itanium | 271 DC__Arch_Itanium |
272 DC__Arch_PPC32 | 272 DC__Arch_PPC32 |
273 DC__Arch_PPC64 | 273 DC__Arch_PPC64 |
274 DC__Arch_SuperH | 274 DC__Arch_SuperH |
275 */ | 275 */ |
276 # if (defined(DC__Arch_PPC64) && (DC__ABI_PPC64_ELF_V == 1)) || defined(_BIG_ENDIAN) || defined(MIPSEB) || defined(__MIPSEB) || defined(__MIPSEB__) | 276 # if (defined(DC__Arch_PPC64) && (DC__ABI_PPC64_ELF_V == 1)) || defined(_BIG_ENDIAN) || defined(MIPSEB) || defined(_MIPSEB) || defined(__MIPSEB) || defined(__MIPSEB__) |
277 # define DC__Endian_BIG | 277 # define DC__Endian_BIG |
278 # elif (defined(DC__Arch_PPC64) && (DC__ABI_PPC64_ELF_V == 2)) || defined(_LITTLE_ENDIAN) || defined(MIPSEL) || defined(__MIPSEL) || defined(__MIPSEL__) | 278 # elif (defined(DC__Arch_PPC64) && (DC__ABI_PPC64_ELF_V == 2)) || defined(_LITTLE_ENDIAN) || defined(MIPSEL) || defined(_MIPSEL) || defined(__MIPSEL) || defined(__MIPSEL__) |
279 # define DC__Endian_LITTLE | 279 # define DC__Endian_LITTLE |
280 # elif defined(DC__Arch_Sparc64) && !defined(__BYTE_ORDER__) /* Sparc64 default is big-endian, except if explicitly defined */ | 280 # elif defined(DC__Arch_Sparc64) && !defined(__BYTE_ORDER__) /* Sparc64 default is big-endian, except if explicitly defined */ |
281 # define DC__Endian_BIG | 281 # define DC__Endian_BIG |
282 # elif defined(__BYTE_ORDER__) /* explicitly set */ | 282 # elif defined(__BYTE_ORDER__) /* explicitly set */ |
283 # if defined(__ORDER_BIG_ENDIAN__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) | 283 # if defined(__ORDER_BIG_ENDIAN__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) |