mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-18 23:32:17 -08:00
Some older versions of libffi.h do not define X86_ANY.
This commit is contained in:
parent
a9161dc3c5
commit
0e32fed8f8
1 changed files with 2 additions and 8 deletions
10
src/c/ffi.d
10
src/c/ffi.d
|
|
@ -136,17 +136,11 @@ static struct {
|
|||
ffi_abi abi;
|
||||
} ecl_foreign_cc_table[] = {
|
||||
{@':default', FFI_DEFAULT_ABI},
|
||||
#ifdef X86_ANY
|
||||
# ifdef X86_WIN32
|
||||
{@':cdecl', FFI_SYSV},
|
||||
{@':sysv', FFI_SYSV},
|
||||
{@':stdcall', FFI_STDCALL}
|
||||
# else
|
||||
# if !defined(X86_WIN64)
|
||||
#if !defined(X86_WIN64)
|
||||
# if defined(X86) || defined(X86_64) || defined(X86_WIN32) || defined(X86_ANY)
|
||||
{@':cdecl', FFI_SYSV},
|
||||
{@':sysv', FFI_SYSV},
|
||||
{@':unix64', FFI_UNIX64}
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue