diff options
Diffstat (limited to 'src/tools/tor-fw-helper')
-rw-r--r-- | src/tools/tor-fw-helper/tor-fw-helper-natpmp.c | 4 | ||||
-rw-r--r-- | src/tools/tor-fw-helper/tor-fw-helper-upnp.c | 2 | ||||
-rw-r--r-- | src/tools/tor-fw-helper/tor-fw-helper.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/tor-fw-helper/tor-fw-helper-natpmp.c b/src/tools/tor-fw-helper/tor-fw-helper-natpmp.c index a3a52d1037..ed79fd2521 100644 --- a/src/tools/tor-fw-helper/tor-fw-helper-natpmp.c +++ b/src/tools/tor-fw-helper/tor-fw-helper-natpmp.c @@ -9,14 +9,14 @@ #include "orconfig.h" #ifdef NAT_PMP -#ifdef MS_WINDOWS +#ifdef _WIN32 #define STATICLIB #endif #include <stdint.h> #include <stdio.h> #include <string.h> #include <errno.h> -#ifndef MS_WINDOWS +#ifndef _WIN32 #include <arpa/inet.h> #endif diff --git a/src/tools/tor-fw-helper/tor-fw-helper-upnp.c b/src/tools/tor-fw-helper/tor-fw-helper-upnp.c index c4b14a84e2..442eae514e 100644 --- a/src/tools/tor-fw-helper/tor-fw-helper-upnp.c +++ b/src/tools/tor-fw-helper/tor-fw-helper-upnp.c @@ -9,7 +9,7 @@ #include "orconfig.h" #ifdef MINIUPNPC -#ifdef MS_WINDOWS +#ifdef _WIN32 #define STATICLIB #endif #include <stdint.h> diff --git a/src/tools/tor-fw-helper/tor-fw-helper.c b/src/tools/tor-fw-helper/tor-fw-helper.c index 002239745a..ea5ae7ffad 100644 --- a/src/tools/tor-fw-helper/tor-fw-helper.c +++ b/src/tools/tor-fw-helper/tor-fw-helper.c @@ -21,7 +21,7 @@ #include <time.h> #include <string.h> -#ifdef MS_WINDOWS +#ifdef _WIN32 #include <winsock2.h> #endif @@ -229,7 +229,7 @@ tor_fw_add_dir_port(tor_fw_options_t *tor_fw_options, static int network_init(void) { -#ifdef MS_WINDOWS +#ifdef _WIN32 /* This silly exercise is necessary before windows will allow * gethostbyname to work. */ WSADATA WSAData; |