diff options
author | Jay Freeman <saurik@saurik.com> | 2010-11-23 23:23:40 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2010-11-23 23:23:40 +0000 |
commit | 20ac9f1bc787a647e54628f314da1bd78bc67757 (patch) | |
tree | 0e490ef6807ee207467b23ebb412994832c780a1 /data | |
parent | 1e450fc4ac6a99df819ff43cfe607069c3aeb22d (diff) |
Apple removed __clear_cache in iOS 4.2.
git-svn-id: http://svn.telesphoreo.org/trunk@735 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data')
-rw-r--r-- | data/libffi/clearcache.diff | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/data/libffi/clearcache.diff b/data/libffi/clearcache.diff new file mode 100644 index 000000000..e9bbdfa9a --- /dev/null +++ b/data/libffi/clearcache.diff @@ -0,0 +1,14 @@ +diff -ru gcc/libffi/src/arm/ffi.c gcc+iPhone/libffi/src/arm/ffi.c +--- gcc/libffi/src/arm/ffi.c 2007-09-04 17:52:45.000000000 +0000 ++++ gcc+iPhone/libffi/src/arm/ffi.c 2010-11-23 23:18:14.000000000 +0000 +@@ -270,6 +270,10 @@ + return; + } + ++#ifdef __APPLE__ ++#define __clear_cache(a, b) ++#endif ++ + /* How to make a trampoline. */ + + #define FFI_INIT_TRAMPOLINE(TRAMP,FUN,CTX) \ |