comparison dyncall/dyncall_callvm_ppc32.c @ 184:f44808587a3c

- simplified some platform check
author Tassilo Philipp
date Fri, 17 Feb 2017 09:34:12 +0100
parents 67961454902b
children f5577f6bf97a
comparison
equal deleted inserted replaced
183:e38d33230b09 184:f44808587a3c
48 #include "dyncall_types.h" 48 #include "dyncall_types.h"
49 #include "dyncall_utils.h" 49 #include "dyncall_utils.h"
50 50
51 /* Support for Mac OS X (Darwin) and Systen V ABI for Power PC 32-bit */ 51 /* Support for Mac OS X (Darwin) and Systen V ABI for Power PC 32-bit */
52 52
53 #if defined(DC__OS_Darwin) 53 #if defined(DC_UNIX)
54 # define DC__ABI_Darwin 54 # if defined(DC__OS_Darwin)
55 #elif defined(DC__OS_Linux) || defined(DC__OS_FreeBSD) || defined(DC__OS_OpenBSD) || defined(DC__OS_NetBSD) || defined(DC__OS_DragonFlyBSD) || defined(DC__OS_SunOS) 55 # define DC__ABI_Darwin
56 # define DC__ABI_SysV 56 # else
57 # define DC__ABI_SysV
58 # endif
57 #else 59 #else
58 # error Unsupported OS for ppc32 architecture. 60 # error Unsupported OS for ppc32 architecture.
59 #endif 61 #endif
60 62
61 static void dc_callvm_free_ppc32(DCCallVM* in_self) 63 static void dc_callvm_free_ppc32(DCCallVM* in_self)