diff options
-rw-r--r-- | src/vte.cc | 4 | ||||
-rw-r--r-- | src/vteapp.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -2193,6 +2193,7 @@ vte_terminal_event_check_regex_simple(VteTerminal *terminal, guint32 match_flags, char **matches) { +#ifdef WITH_PCRE2 VteTerminalPrivate *pvt = terminal->pvt; gsize offset, sattr, eattr; pcre2_match_data_8 *match_data; @@ -2249,6 +2250,9 @@ vte_terminal_event_check_regex_simple(VteTerminal *terminal, pcre2_match_context_free_8(match_context); return any_matches; +#else + return FALSE; +#endif } /** diff --git a/src/vteapp.c b/src/vteapp.c index bfddf8cc..844dbfc3 100644 --- a/src/vteapp.c +++ b/src/vteapp.c @@ -48,7 +48,9 @@ static const char *builtin_dingus[] = { NULL }; +#ifdef WITH_PCRE2 static gboolean use_gregex = FALSE; +#endif static void window_title_changed(GtkWidget *widget, gpointer win) |