summaryrefslogtreecommitdiff
path: root/source/Host/common/TCPSocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Host/common/TCPSocket.cpp')
-rw-r--r--source/Host/common/TCPSocket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Host/common/TCPSocket.cpp b/source/Host/common/TCPSocket.cpp
index f896944bb1b3..1a10336f1dfc 100644
--- a/source/Host/common/TCPSocket.cpp
+++ b/source/Host/common/TCPSocket.cpp
@@ -26,11 +26,11 @@
#include <sys/socket.h>
#endif
-#if defined(LLVM_ON_WIN32)
+#if defined(_WIN32)
#include <winsock2.h>
#endif
-#ifdef LLVM_ON_WIN32
+#ifdef _WIN32
#define CLOSE_SOCKET closesocket
typedef const char *set_socket_option_arg_type;
#else