summaryrefslogtreecommitdiff
path: root/dumpcap.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-12-18 11:58:22 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-12-18 11:58:22 +0000
commit2977bde9f17853c3f44ec553b67ae492f96948bb (patch)
tree6f44fa98de93f310020cc4bf061b9c4b2a95239e /dumpcap.c
parent4e254a907ce4f7bfd2d3492188d80495924191ac (diff)
downloadwireshark-2977bde9f17853c3f44ec553b67ae492f96948bb.tar.gz
- Make dumpcap build with the new bundle.
- Use the correct bundle id for GTK3 svn path=/trunk/; revision=46586
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c4
1 files changed, 4 insertions, 0 deletions
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;