Mercurial > pub > dyncall > dyncall
comparison 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 |
comparison
equal
deleted
inserted
replaced
114:15b88cd935c4 | 115:b0d5b49bf418 |
---|---|
270 DC__Arch_PPC32 | 270 DC__Arch_PPC32 |
271 DC__Arch_PPC64 | 271 DC__Arch_PPC64 |
272 DC__Arch_Sparcv9 | 272 DC__Arch_Sparcv9 |
273 DC__Arch_SuperH | 273 DC__Arch_SuperH |
274 */ | 274 */ |
275 # if (defined(DC__Arch_PPC64) && (DC__ABI_PPC64_ELF_V == 1)) || defined(_BIG_ENDIAN) || defined(MIPSEB) || defined(__MIPSEB__) | 275 # if (defined(DC__Arch_PPC64) && (DC__ABI_PPC64_ELF_V == 1)) || defined(_BIG_ENDIAN) || defined(MIPSEB) || defined(__MIPSEB) || defined(__MIPSEB__) |
276 # define DC__Endian_BIG | 276 # define DC__Endian_BIG |
277 # elif (defined(DC__Arch_PPC64) && (DC__ABI_PPC64_ELF_V == 2)) || defined(_LITTLE_ENDIAN) || defined(MIPSEL) || defined(__MIPSEL__) | 277 # elif (defined(DC__Arch_PPC64) && (DC__ABI_PPC64_ELF_V == 2)) || defined(_LITTLE_ENDIAN) || defined(MIPSEL) || defined(__MIPSEL) || defined(__MIPSEL__) |
278 # define DC__Endian_LITTLE | 278 # define DC__Endian_LITTLE |
279 # endif /* no else, leave unset if not sure */ | 279 # endif /* no else, leave unset if not sure */ |
280 #endif | 280 #endif |
281 | 281 |
282 | 282 |