fix: build error on glib < 2.14

This commit is contained in:
Ilia Maslakov 2009-04-23 07:34:10 +00:00
parent 725fe42290
commit 1133dd750b

View File

@ -61,9 +61,10 @@ typedef struct mc_search_struct {
gsize normal_offset; gsize normal_offset;
/* some data for regexp */ /* some data for regexp */
#if GLIB_CHECK_VERSION (2, 14, 0)
GRegex *regex_handle; GRegex *regex_handle;
GMatchInfo *regex_match_info; GMatchInfo *regex_match_info;
#endif
/* some data for sscanf */ /* some data for sscanf */
/* some data for glob */ /* some data for glob */