summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.nmake2
-rw-r--r--dumpcap.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/config.nmake b/config.nmake
index a1aafd234f..5ad984b939 100644
--- a/config.nmake
+++ b/config.nmake
@@ -272,7 +272,7 @@ PKG_SUFIX=ws
GDK_DLL=libgdk-3-0.dll
GTK_DLL=libgtk-3-0.dll
PKG_SUFIX=ws
-GTK_PKG=3.4.2-2.9
+GTK_PKG=3.4.0-3.9
#GTK_PKG=3.4.4-2.1
!ENDIF
diff --git a/dumpcap.c b/dumpcap.c
index e88e0598f4..f177164cd4 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -2128,7 +2128,11 @@ cap_pipe_open_live(char *pipename,
}
#ifdef _WIN32
else {
+#if GLIB_CHECK_VERSION(2,31,0)
+ g_thread_new("cap_pipe_open_live", &cap_thread_read, pcap_opts);
+#else
g_thread_create(&cap_thread_read, pcap_opts, FALSE, NULL);
+#endif
pcap_opts->cap_pipe_buf = (char *) &magic;
pcap_opts->cap_pipe_bytes_read = 0;