summaryrefslogtreecommitdiff
path: root/airpcap.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2007-03-28 03:56:24 +0000
committerUlf Lamping <ulf.lamping@web.de>2007-03-28 03:56:24 +0000
commit9e78e405c094fa5debcb3bbc429642d7786d809e (patch)
treeadcb891af3205c23fbd54f98e0017b500cbd9bcd /airpcap.h
parent9de252158ee8618114b4e230e042e84a2d786184 (diff)
downloadwireshark-9e78e405c094fa5debcb3bbc429642d7786d809e.tar.gz
from Gisle Vanem: some more #pragma's that MingW don't like
svn path=/trunk/; revision=21240
Diffstat (limited to 'airpcap.h')
-rw-r--r--airpcap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/airpcap.h b/airpcap.h
index c533fd59ba..8afe8d938f 100644
--- a/airpcap.h
+++ b/airpcap.h
@@ -24,8 +24,10 @@
#include <epan/crypt/wep-wpadefs.h> /* WEP_KEY_MAX_SIZE */
+#ifdef _MSC_VER
/* This disables a VS warning for zero-sized arrays. All the compilers we support have that feature */
#pragma warning( disable : 4200)
+#endif
#ifdef __cplusplus
extern "C" {