From 1133dd750b03f73395f9beae6b1748d5d4de76d4 Mon Sep 17 00:00:00 2001 From: Ilia Maslakov Date: Thu, 23 Apr 2009 07:34:10 +0000 Subject: [PATCH] fix: build error on glib < 2.14 --- src/search.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/search.h b/src/search.h index 7d28c845c..bee51d978 100644 --- a/src/search.h +++ b/src/search.h @@ -61,9 +61,10 @@ typedef struct mc_search_struct { gsize normal_offset; /* some data for regexp */ +#if GLIB_CHECK_VERSION (2, 14, 0) GRegex *regex_handle; GMatchInfo *regex_match_info; - +#endif /* some data for sscanf */ /* some data for glob */