diff options
author | Jay Freeman <saurik@saurik.com> | 2012-05-02 01:17:12 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2012-05-02 01:17:12 +0000 |
commit | 1f7575a4a85ceb1c39529cc3e7b139dcc4dd5eae (patch) | |
tree | f4bc7f597dcd1b87efad14d59e8d4229148d9adb /data/pcre/clearcache.diff | |
parent | 5c660cedae456b3bc0d86a7b2c3b70d6c0e04d97 (diff) |
Upgrade to PCRE 8.30 for Yllier.
git-svn-id: http://svn.telesphoreo.org/trunk@767 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/pcre/clearcache.diff')
-rw-r--r-- | data/pcre/clearcache.diff | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/data/pcre/clearcache.diff b/data/pcre/clearcache.diff new file mode 100644 index 000000000..c404dccf4 --- /dev/null +++ b/data/pcre/clearcache.diff @@ -0,0 +1,19 @@ +diff -ru pcre-8.30/sljit/sljitConfigInternal.h pcre-8.30+iPhone/sljit/sljitConfigInternal.h +--- pcre-8.30/sljit/sljitConfigInternal.h 2012-01-15 11:28:29.000000000 +0000 ++++ pcre-8.30+iPhone/sljit/sljitConfigInternal.h 2012-05-02 00:29:17.000000000 +0000 +@@ -207,9 +207,15 @@ + + #else + ++#ifdef __APPLE__ ++/* Apple does not believe in __clear_cache */ ++#define SLJIT_CACHE_FLUSH(from, to) \ ++ sys_icache_invalidate((char*)(from), (char*)(to) - (char*)(from)) ++#else + /* Calls __ARM_NR_cacheflush on ARM-Linux. */ + #define SLJIT_CACHE_FLUSH(from, to) \ + __clear_cache((char*)(from), (char*)(to)) ++#endif + + #endif + |