From 0c25744c67f4ffbb6c48ca63629532aeef4397b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Sun, 6 Oct 2013 22:17:24 +0000 Subject: [PATCH] The code (at least) in dumpcap assumes that PCAP_CREATE is not available on Windows - but we detect it in winpcap. With this change dumpcap compiles and links svn path=/trunk/; revision=52427 --- cmakeconfig.h.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index a72ef8bce3..dc055e5783 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -205,8 +205,12 @@ /* Define to 1 if you have the `pcap_breakloop' function. */ #cmakedefine HAVE_PCAP_BREAKLOOP 1 +/* FIXME: The code (at least) in dumpcap assumes that PCAP_CREATE is not + * available on Windows - but we detect it in winpcap */ +#ifndef _WIN32 /* Define to 1 if you have the `pcap_create' function. */ #cmakedefine HAVE_PCAP_CREATE 1 +#endif /* Define to 1 if you have the `pcap_datalink_name_to_val' function. */ #cmakedefine HAVE_PCAP_DATALINK_NAME_TO_VAL 1