diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-27 21:32:14 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-27 21:32:14 +0000 |
commit | 4fd1b952508a97ac0fdd0a62938e4f2691f25565 (patch) | |
tree | 572a74c8069e434c892b34d2e3c655f77abc31c8 | |
parent | b40a78f369a48a5ca45e1600bca0fe769ba78e8e (diff) |
from Gisle Vanem:
add " && defined(_MSC_VER)", as MingW doesn't need it
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21231 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r-- | capture_wpcap_packet.c | 2 | ||||
-rw-r--r-- | gtk/capture_if_details_dlg.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/capture_wpcap_packet.c b/capture_wpcap_packet.c index 714d8434fc..d26da5f8f4 100644 --- a/capture_wpcap_packet.c +++ b/capture_wpcap_packet.c @@ -51,7 +51,7 @@ * * copied from RFC2553 (and slightly modified because of datatypes) ... * XXX - defined more than once, move this to a header file */ -#if (WINVER <= 0x0400) +#if (WINVER <= 0x0400) && defined(_MSC_VER) typedef unsigned short eth_sa_family_t; /* diff --git a/gtk/capture_if_details_dlg.c b/gtk/capture_if_details_dlg.c index 99714c300c..4984ce50b0 100644 --- a/gtk/capture_if_details_dlg.c +++ b/gtk/capture_if_details_dlg.c @@ -59,7 +59,7 @@ * * copied from RFC2553 (and slightly modified because of datatypes) ... * XXX - defined more than once, move this to a header file */ -#if (WINVER <= 0x0400) +#if (WINVER <= 0x0400) && defined(_MSC_VER) typedef unsigned short eth_sa_family_t; /* |