diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2007-03-27 21:32:14 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2007-03-27 21:32:14 +0000 |
commit | d6f78c34574e97ea235236826ecb214b71736c26 (patch) | |
tree | 572a74c8069e434c892b34d2e3c655f77abc31c8 | |
parent | f1a58d41d46c59e49e6d2a2b6cf5ef879d48a38e (diff) |
from Gisle Vanem:
add " && defined(_MSC_VER)", as MingW doesn't need it
svn path=/trunk/; revision=21231
-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; /* |