From a4cc90cad4420dd985cc6c5c0086dada0b45f1c1 Mon Sep 17 00:00:00 2001 From: bryce Date: Tue, 27 Mar 2001 02:39:16 +0000 Subject: 2001-03-27 Jon Beniston * configure.in: Added X86_WIN32 target (Win32, CygWin, MingW). * configure: Rebuilt. * Makefile.am: Added X86_WIN32 target support. * Makefile.in: Rebuilt. * include/ffi.h.in: Added X86_WIN32 target support. * src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets. * src/types.c: Added X86_WIN32 target support. * src/x86/win32.S: New file. Based on sysv.S, but with EH stuff removed and made to work with CygWin's gas. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40860 138bc75d-0d04-0410-961f-82ee72b054a4 --- libffi/include/ffi.h.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libffi/include') diff --git a/libffi/include/ffi.h.in b/libffi/include/ffi.h.in index 7161e51e92a..1cd35248687 100644 --- a/libffi/include/ffi.h.in +++ b/libffi/include/ffi.h.in @@ -195,6 +195,12 @@ typedef enum ffi_abi { FFI_DEFAULT_ABI = FFI_SYSV, #endif + /* ---- Intel x86 Win32 ---------- */ +#ifdef X86_WIN32 + FFI_SYSV, + FFI_DEFAULT_ABI = FFI_SYSV, +#endif + /* ---- Intel ia64 ---------------- */ #ifdef IA64 FFI_UNIX, /* Linux and all Unix variants use the same conventions */ @@ -351,6 +357,12 @@ size_t ffi_java_raw_size (ffi_cif *cif); #define FFI_TRAMPOLINE_SIZE 10 #define FFI_NATIVE_RAW_API 1 /* and has native raw api support */ +#elif defined(X86_WIN32) + +#define FFI_CLOSURES 1 /* x86 supports closures */ +#define FFI_TRAMPOLINE_SIZE 10 +#define FFI_NATIVE_RAW_API 1 /* and has native raw api support */ + #elif defined(IA64) #define FFI_CLOSURES 1 -- cgit v1.2.1