aboutsummaryrefslogtreecommitdiff
path: root/Win32/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Win32/Src')
-rw-r--r--Win32/Src/gai_strerror.c4
-rw-r--r--Win32/Src/getaddrinfo.c2
-rw-r--r--Win32/Src/getopt.c2
-rw-r--r--Win32/Src/inet_pton.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/Win32/Src/gai_strerror.c b/Win32/Src/gai_strerror.c
index a36c35d8..d1e70f84 100644
--- a/Win32/Src/gai_strerror.c
+++ b/Win32/Src/gai_strerror.c
@@ -34,7 +34,7 @@ __FBSDID("$FreeBSD: /repoman/r/ncvs/src/lib/libc/net/gai_strerror.c,v 1.1 2005/0
*/
-#ifdef WIN32
+#ifdef _WIN32
#include <ws2tcpip.h>
@@ -80,4 +80,4 @@ WSAAPI gai_strerrorA(int ecode)
return "Unknown error";
}
-#endif /* gai_strerror */ \ No newline at end of file
+#endif /* gai_strerror */
diff --git a/Win32/Src/getaddrinfo.c b/Win32/Src/getaddrinfo.c
index d3ebda08..c894d3f7 100644
--- a/Win32/Src/getaddrinfo.c
+++ b/Win32/Src/getaddrinfo.c
@@ -85,7 +85,7 @@
#ifdef NEED_ADDRINFO_H
#include "addrinfo.h"
-#ifdef WIN32
+#ifdef _WIN32
#include "ip6_misc.h"
#endif
#endif
diff --git a/Win32/Src/getopt.c b/Win32/Src/getopt.c
index 03c2086e..f5e62daa 100644
--- a/Win32/Src/getopt.c
+++ b/Win32/Src/getopt.c
@@ -59,7 +59,7 @@ getopt(nargc, nargv, ostr)
char * const *nargv;
const char *ostr;
{
-#ifdef WIN32
+#ifdef _WIN32
char *__progname="windump";
#else
extern char *__progname;
diff --git a/Win32/Src/inet_pton.c b/Win32/Src/inet_pton.c
index 7fe3813a..462b9baf 100644
--- a/Win32/Src/inet_pton.c
+++ b/Win32/Src/inet_pton.c
@@ -38,7 +38,7 @@
#include <errno.h>
-#ifdef WIN32
+#ifdef _WIN32
#ifndef EAFNOSUPPORT
#define EAFNOSUPPORT 97 /* not present in errno.h provided with VC */
#endif