diff options
Diffstat (limited to 'epan/filesystem.c')
-rw-r--r-- | epan/filesystem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/filesystem.c b/epan/filesystem.c index 6a88da0cdd..be779561b3 100644 --- a/epan/filesystem.c +++ b/epan/filesystem.c @@ -777,7 +777,7 @@ char *getenv_utf8(const char *varname) envvar = getenv(varname); /* since GLib 2.6 we need an utf8 version of the filename */ -#if (GLIB_MAJOR_VERSION > 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 6)) +#if GLIB_CHECK_VERSION(2,6,0) /* using the wide char version of getenv should work under all circumstances */ /* convert given varname to utf16, needed by _wgetenv */ |