comparison dyncall/dyncall_macros.h @ 112:0baf4f79a8c5

- added __mips_n64 predef detection to macros.h
author cslag
date Sat, 18 Jun 2016 20:47:20 +0200
parents 1ce60358fbad
children b0d5b49bf418
comparison
equal deleted inserted replaced
111:6da2a7ee2a86 112:0baf4f79a8c5
235 #endif /* ARM */ 235 #endif /* ARM */
236 236
237 #if defined(DC__Arch_MIPS) || defined(DC__Arch_MIPS64) 237 #if defined(DC__Arch_MIPS) || defined(DC__Arch_MIPS64)
238 # if defined(_ABIO32) || defined(_MIPS_ARCH_MIPS1) || defined(_MIPS_ARCH_MIPS2) 238 # if defined(_ABIO32) || defined(_MIPS_ARCH_MIPS1) || defined(_MIPS_ARCH_MIPS2)
239 # define DC__ABI_MIPS_O32 239 # define DC__ABI_MIPS_O32
240 # elif defined(_ABI64) || defined(_mips_n64)
241 # define DC__ABI_MIPS_N64
240 # elif defined(_ABIN32) 242 # elif defined(_ABIN32)
241 # define DC__ABI_MIPS_N32 243 # define DC__ABI_MIPS_N32
242 # elif defined(_ABI64)
243 # define DC__ABI_MIPS_N64
244 # else 244 # else
245 # define DC__ABI_MIPS_EABI 245 # define DC__ABI_MIPS_EABI
246 # endif 246 # endif
247 #endif /* MIPS */ 247 #endif /* MIPS */
248 248
250 # if defined(_CALL_ELF) 250 # if defined(_CALL_ELF)
251 # define DC__ABI_PPC64_ELF_V _CALL_ELF 251 # define DC__ABI_PPC64_ELF_V _CALL_ELF
252 # else 252 # else
253 # define DC__ABI_PPC64_ELF_V 0 /* 0 means not explicitly set, otherwise this is 1 (big endian) and 2 (little endian) */ 253 # define DC__ABI_PPC64_ELF_V 0 /* 0 means not explicitly set, otherwise this is 1 (big endian) and 2 (little endian) */
254 # endif 254 # endif
255 #endif /* MIPS */ 255 #endif /* PPC64 */
256 256
257 257
258 /* Endian detection. */ 258 /* Endian detection. */
259 #if defined(DC__Arch_Intel_x86) || defined(DC__Arch_AMD64) /* always little */ 259 #if defined(DC__Arch_Intel_x86) || defined(DC__Arch_AMD64) /* always little */
260 # define DC__Endian_LITTLE 260 # define DC__Endian_LITTLE