From 03802b459d0aeb6c6d763009d2002dfb4d288943 Mon Sep 17 00:00:00 2001 From: Yevgen Muntyan <17531749+muntyan@users.noreply.github.com> Date: Sat, 3 Nov 2007 12:31:20 -0500 Subject: [PATCH] Work around pcre bug with PCRE_WS... option --- moo/mooutils/newgtk/glib-2.14/glib/gregex.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/moo/mooutils/newgtk/glib-2.14/glib/gregex.c b/moo/mooutils/newgtk/glib-2.14/glib/gregex.c index 53a0170f..7117062b 100644 --- a/moo/mooutils/newgtk/glib-2.14/glib/gregex.c +++ b/moo/mooutils/newgtk/glib-2.14/glib/gregex.c @@ -33,6 +33,10 @@ #include "pcre/pcre.h" #endif +/* PCRE 7.3 does not contain the definition of PCRE_ERROR_NULLWSLIMIT */ +#ifndef PCRE_ERROR_NULLWSLIMIT +#define PCRE_ERROR_NULLWSLIMIT (-22) +#endif /* Mask of all the possible values for GRegexCompileFlags. */ #define G_REGEX_COMPILE_MASK (G_REGEX_CASELESS | \