aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/file_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/file_util.h b/wiretap/file_util.h
index 513fa13fe2..2978fc72d6 100644
--- a/wiretap/file_util.h
+++ b/wiretap/file_util.h
@@ -42,7 +42,7 @@ extern "C" {
/* Since GLib2.6, wrappers were added around functions which provides filenames to library functions,
like open() does. */
-#if GLIB_MAJOR_VERSION > 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 6)
+#if (GLIB_MAJOR_VERSION > 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 6)) && (!defined _MSC_VER || _MSC_VER < 1300)
#include <glib/gstdio.h> /* available since GLib 2.6 only! */
/* GLib2.6 or above, using new wrapper functions */