Skip to content

Instantly share code, notes, and snippets.

@aaronbartell
Created April 16, 2015 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronbartell/a2c9f6f26e3b09ec0e19 to your computer and use it in GitHub Desktop.
Save aaronbartell/a2c9f6f26e3b09ec0e19 to your computer and use it in GitHub Desktop.
diff --git a/jni/libffi/src/powerpc/ffitarget.h b/jni/libffi/src/powerpc/ffitarget.h
index b47b0f5..b9a5fda 100644
--- a/jni/libffi/src/powerpc/ffitarget.h
+++ b/jni/libffi/src/powerpc/ffitarget.h
@@ -156,9 +156,11 @@ typedef enum ffi_abi {
#define FFI_V2_TYPE_DOUBLE_HOMOG (FFI_TYPE_LAST + 2)
#define FFI_V2_TYPE_SMALL_STRUCT (FFI_TYPE_LAST + 3)
+/*
#if _CALL_ELF == 2
# define FFI_TRAMPOLINE_SIZE 32
#else
+*/
# if defined(POWERPC64) || defined(POWERPC_AIX)
# if defined(POWERPC_DARWIN64)
# define FFI_TRAMPOLINE_SIZE 48
@@ -168,8 +170,9 @@ typedef enum ffi_abi {
# else /* POWERPC || POWERPC_AIX */
# define FFI_TRAMPOLINE_SIZE 40
# endif
+/*
#endif
-
+*/in
#ifndef LIBFFI_ASM
#if defined(POWERPC_DARWIN) || defined(POWERPC_AIX)
struct ffi_aix_trampoline_struct {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment