Ticket #61153: FFI_GO_CLOSURES.patch

File FFI_GO_CLOSURES.patch, 481 bytes (added by ballapete (Peter "Pete" Dyballa), 4 years ago)

Patch file to add POWER and POWER64

  • src/powerpc/ffitarget.h

    old new  
    141141
    142142#define FFI_CLOSURES 1
    143143#define FFI_NATIVE_RAW_API 0
    144 #if defined (POWERPC) || defined (POWERPC_FREEBSD)
     144#if defined (POWERPC) || defined (POWERPC_FREEBSD) || defined (__POWERPC__) || defined (__POWERPC64__)
    145145# define FFI_GO_CLOSURES 1
    146146# define FFI_TARGET_SPECIFIC_VARIADIC 1
    147147# define FFI_EXTRA_CIF_FIELDS unsigned nfixedargs