summaryrefslogtreecommitdiff
path: root/src/tools/tor-fw-helper/tor-fw-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/tor-fw-helper/tor-fw-helper.c')
-rw-r--r--src/tools/tor-fw-helper/tor-fw-helper.c4
1 files changed, 2 insertions, 2 deletions
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;