diff options
author | Gerald Combs <gerald@wireshark.org> | 2009-12-18 01:15:08 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2009-12-18 01:15:08 +0000 |
commit | 7c0dc5d7e7a479d497f0e991158a60ae89a35f74 (patch) | |
tree | 1d7a312d77cd21c4d65f74e46f8214079c3f610b /version_info.c | |
parent | 7524c0b96314b87ca6a2c8f4dbf14770277ef31a (diff) |
If we don't have PCRE and we do have GLib >= 2.14, use GRegexes for the
"matches" operator.
svn path=/trunk/; revision=31302
Diffstat (limited to 'version_info.c')
-rw-r--r-- | version_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/version_info.c b/version_info.c index 528b04b930..4850773029 100644 --- a/version_info.c +++ b/version_info.c @@ -186,7 +186,7 @@ get_compiled_version_info(GString *str, void (*additional_info)(GString *)) (*additional_info)(str); g_string_append(str, "."); -#ifndef HAVE_LIBPCRE +#if !defined(HAVE_LIBPCRE) && !GLIB_CHECK_VERSION(2,14,0) g_string_append(str, "\nNOTE: this build doesn't support the \"matches\" operator for Wireshark filter syntax"); g_string_append(str, "."); |