aboutsummaryrefslogtreecommitdiffstats
path: root/capture.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-12-31 21:12:55 +0000
committerGuy Harris <guy@alum.mit.edu>2002-12-31 21:12:55 +0000
commit3534ae54542a3aaa9c43f4945bead143a3d6f1ed (patch)
treecc11066a54607690f0072930747bde0e91940e4c /capture.c
parent4ff2dcfcda4ae1c84e7f3bba2caa135fde72a03b (diff)
Use _WIN32 rather than WIN32 throughout (both of them appear to work - I
don't know whether one is the "right" one to use and, if one is, which one it is - and they're both used in Ethereal, but let's at least be consistent within a given file). svn path=/trunk/; revision=6828
Diffstat (limited to 'capture.c')
-rw-r--r--capture.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/capture.c b/capture.c
index b5c443ebcc..88a2ea14f7 100644
--- a/capture.c
+++ b/capture.c
@@ -1,7 +1,7 @@
/* capture.c
* Routines for packet capture windows
*
- * $Id: capture.c,v 1.200 2002/12/31 21:06:48 guy Exp $
+ * $Id: capture.c,v 1.201 2002/12/31 21:12:55 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -162,7 +162,7 @@
#include "packet-prism.h"
#include "packet-ipfc.h"
-#ifdef WIN32
+#ifdef _WIN32
#include "capture-wpcap.h"
#endif
@@ -1996,7 +1996,7 @@ capture(gboolean *stats_known, struct pcap_stat *stats)
pcap_close(pch);
}
-#ifdef WIN32
+#ifdef _WIN32
/* Shut down windows sockets */
WSACleanup();
#endif
@@ -2023,7 +2023,7 @@ error:
cfile.save_file = NULL;
popup_errmsg(errmsg);
-#ifndef WIN32
+#ifndef _WIN32
if (ld.from_pipe) {
if (pipe_fd >= 0)
close(pipe_fd);