1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 08:55:07 +00:00
serenity/Ports/pcre/patches/fix-rlimit.patch
2021-04-14 21:46:20 +02:00

12 lines
613 B
Diff

diff -Naur pcre-8.44/pcretest.c pcre-8.44.serenity/pcretest.c
--- pcre-8.44/pcretest.c 2020-02-11 18:28:46.000000000 +0100
+++ pcre-8.44.serenity/pcretest.c 2021-04-12 01:23:25.182873375 +0200
@@ -3168,7 +3168,7 @@
((stack_size = get_value((pcre_uint8 *)argv[op+1], &endptr)),
*endptr == 0))
{
-#if defined(_WIN32) || defined(WIN32) || defined(__minix) || defined(NATIVE_ZOS) || defined(__VMS)
+#if defined(_WIN32) || defined(WIN32) || defined(__minix) || defined(NATIVE_ZOS) || defined(__VMS) || defined(__serenity__)
printf("PCRE: -S not supported on this OS\n");
exit(1);
#else