summaryrefslogtreecommitdiff
path: root/find.c
diff options
context:
space:
mode:
Diffstat (limited to 'find.c')
-rw-r--r--find.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/find.c b/find.c
index fc53f95..78ec85e 100644
--- a/find.c
+++ b/find.c
@@ -1,5 +1,9 @@
+#define PCRE2_STATIC
+#define PCRE2_CODE_UNIT_WIDTH 32
+#include <pcre2.h>
#define FIND_MAX_GROUPS 50
+
static u32 find_compilation_flags(Ted *ted) {
return (ted->find_case_sensitive ? 0 : PCRE2_CASELESS)
| (ted->find_regex ? 0 : PCRE2_LITERAL);