From 853cee5949361930be3a70e7f54941a8fdfabe4f Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 14 Jan 2022 16:13:16 +0330 Subject: [PATCH] test: Disable '-S' on serenity This flag uses setrlimit(), which is not supported. --- pcretest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcretest.c b/pcretest.c index c1ee128..1ebab82 100644 --- a/pcretest.c +++ b/pcretest.c @@ -3168,7 +3168,7 @@ while (argc > 1 && argv[op][0] == '-') ((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 -- 2.34.1