diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-12-31 21:12:55 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-12-31 21:12:55 +0000 |
commit | 3534ae54542a3aaa9c43f4945bead143a3d6f1ed (patch) | |
tree | cc11066a54607690f0072930747bde0e91940e4c /capture.c | |
parent | 4ff2dcfcda4ae1c84e7f3bba2caa135fde72a03b (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.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); |