mirror of
https://github.com/partic2/libffi
synced 2026-11-11 10:37:19 +00:00
fix mingw build and crashing bugs for Python Windows ARM64 (#496)
* fix mingw build and crashing bugs for Python Windows ARM64 * Fix issues found in PR review
This commit is contained in:
committed by
Anthony Green
parent
e0b4f84fb7
commit
c2a6859012
@@ -197,7 +197,7 @@ FFI_EXTERN ffi_type ffi_type_float;
|
||||
FFI_EXTERN ffi_type ffi_type_double;
|
||||
FFI_EXTERN ffi_type ffi_type_pointer;
|
||||
|
||||
#ifndef _M_ARM64
|
||||
#ifndef _M_ARM64
|
||||
FFI_EXTERN ffi_type ffi_type_longdouble;
|
||||
#else
|
||||
#define ffi_type_longdouble ffi_type_double
|
||||
@@ -227,7 +227,6 @@ typedef struct {
|
||||
ffi_type *rtype;
|
||||
unsigned bytes;
|
||||
unsigned flags;
|
||||
unsigned isVariadic;
|
||||
#ifdef FFI_EXTRA_CIF_FIELDS
|
||||
FFI_EXTRA_CIF_FIELDS;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user