ports/lang/php81/files/patch-ext_pcre_pcre2lib_sljit_sljitConfigInternal.h
Dima Panov c89b6f2799 lang/php8[12]: Fix build on aarch64 with ZTS
- Refresh patches

PR:		266175
Reported by:	thresh@nginx.com
Sponsored by:	Bounce Experts
2023-04-12 07:39:13 +02:00

11 lines
463 B
C

--- ext/pcre/pcre2lib/sljit/sljitConfigInternal.h.orig 2023-03-14 19:50:20 UTC
+++ ext/pcre/pcre2lib/sljit/sljitConfigInternal.h
@@ -319,7 +319,7 @@ extern "C" {
/* Instruction cache flush. */
/****************************/
-#if (!defined SLJIT_CACHE_FLUSH && defined __has_builtin)
+#if (!defined SLJIT_CACHE_FLUSH && defined __has_builtin && !defined SLJIT_CONFIG_PPC_32)
#if __has_builtin(__builtin___clear_cache)
#define SLJIT_CACHE_FLUSH(from, to) \