diff options
-rw-r--r-- | libffi/ChangeLog | 4 | ||||
-rw-r--r-- | libffi/include/ffi.h.in | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog index c2d664d..a41a79f 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,7 @@ +2002-10-01 Bo Thorsen <bo@smetana.suse.de> + + * include/ffi.h.in: Fix i386 win32 compilation. + 2002-09-30 Ulrich Weigand <uweigand@de.ibm.com> * configure.in: Add s390x-*-linux-* target. diff --git a/libffi/include/ffi.h.in b/libffi/include/ffi.h.in index 70a7842..4f7667e 100644 --- a/libffi/include/ffi.h.in +++ b/libffi/include/ffi.h.in @@ -202,7 +202,7 @@ typedef enum ffi_abi { #endif /* ---- Intel x86 and AMD x86-64 - */ -#if defined(__i386__) || defined(__x86_64__) +#if !defined(X86_WIN32) && (defined(__i386__) || defined(__x86_64__)) FFI_SYSV, FFI_UNIX64, /* Unix variants all use the same ABI for x86-64 */ #ifdef __i386__ |