Changeset: e6837324cde3 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e6837324cde3
Modified Files:
        monetdb5/modules/mal/pcre.c
Branch: Jun2016
Log Message:

Older versions of PCRE (such as on EPEL 6) don't have pcre_free_study.


diffs (14 lines):

diff --git a/monetdb5/modules/mal/pcre.c b/monetdb5/modules/mal/pcre.c
--- a/monetdb5/modules/mal/pcre.c
+++ b/monetdb5/modules/mal/pcre.c
@@ -33,6 +33,10 @@
 
 #include <pcre.h>
 
+#if PCRE_MAJOR < 8
+#define pcre_free_study my_pcre_free
+#endif
+
 pcre_export str PCREquote(str *r, const str *v);
 pcre_export str PCREmatch(bit *ret, const str *val, const str *pat);
 pcre_export str PCREimatch(bit *ret, const str *val, const str *pat);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to