define PCRE_ERROR_NULLWSLIMIT if it's not defined by PCRE, has PCRE 7.3

2007-09-10  Marco Barisione <marco@barisione.org>

	* glib/gregex.c: define PCRE_ERROR_NULLWSLIMIT if it's not defined by
	PCRE, has PCRE 7.3 removed this definition. (#475474)

svn path=/trunk/; revision=5742
This commit is contained in:
Marco Barisione 2007-09-10 15:17:19 +00:00 committed by Marco Barisione
parent 78b57664f5
commit eb5d1e18b1
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-09-10 Marco Barisione <marco@barisione.org>
* glib/gregex.c: define PCRE_ERROR_NULLWSLIMIT if it's not defined by
PCRE, has PCRE 7.3 removed this definition. (#475474)
2007-09-05 Behdad Esfahbod <behdad@gnome.org>
* glib/gregex.c: Fix header inclusion. (#473879, Peter Kjellerstedt)

View File

@ -33,6 +33,11 @@
#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
#include "galias.h"
/* Mask of all the possible values for GRegexCompileFlags. */