aboutsummaryrefslogtreecommitdiffstats
path: root/cmakeconfig.h.in
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2013-10-06 22:17:24 +0000
committerJörg Mayer <jmayer@loplof.de>2013-10-06 22:17:24 +0000
commit0c25744c67f4ffbb6c48ca63629532aeef4397b9 (patch)
tree1b2125bab48f0491ce255c0edb845c2beab7d5bc /cmakeconfig.h.in
parentf625f54e3fcdba1605cb8a4a61213b034949cb4c (diff)
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
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r--cmakeconfig.h.in4
1 files changed, 4 insertions, 0 deletions
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