mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 06:02:07 +03:00
23 lines
719 B
Diff
23 lines
719 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Tobias Christiansen <tobyase@serenityos.org>
|
|
Date: Thu, 24 Mar 2022 15:41:48 +0100
|
|
Subject: [PATCH] Define _POSIX_REGEXP
|
|
|
|
Serenity's libc does have regex.
|
|
---
|
|
src/fingerprints/REXP/REXP.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/fingerprints/REXP/REXP.c b/src/fingerprints/REXP/REXP.c
|
|
index c208078..88616b2 100644
|
|
--- a/src/fingerprints/REXP/REXP.c
|
|
+++ b/src/fingerprints/REXP/REXP.c
|
|
@@ -28,6 +28,7 @@
|
|
#include <unistd.h>
|
|
#include <string.h>
|
|
|
|
+#define _POSIX_REGEXP 1
|
|
#if !defined(_POSIX_REGEXP) || (_POSIX_REGEXP < 1)
|
|
# error "cfunge needs POSIX regular expressions, which this system claims it doesn't have."
|
|
#endif
|