summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/common
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/common')
-rw-r--r--lldb/source/Host/common/TCPSocket.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Host/common/TCPSocket.cpp b/lldb/source/Host/common/TCPSocket.cpp
index 83d63d08a4a..465a739115a 100644
--- a/lldb/source/Host/common/TCPSocket.cpp
+++ b/lldb/source/Host/common/TCPSocket.cpp
@@ -32,8 +32,10 @@
#ifdef LLVM_ON_WIN32
#define CLOSE_SOCKET closesocket
+typedef const char *set_socket_option_arg_type;
#else
#define CLOSE_SOCKET ::close
+typedef const void *set_socket_option_arg_type;
#endif
using namespace lldb;
OpenPOWER on IntegriCloud