[LLDB] Use the Windows SOCKET type on all windows targets, not only MSVC
authorMartin Storsjo <martin@martin.st>
Mon, 23 Sep 2019 12:02:59 +0000 (12:02 +0000)
committerMartin Storsjo <martin@martin.st>
Mon, 23 Sep 2019 12:02:59 +0000 (12:02 +0000)
Differential Revision: https://reviews.llvm.org/D67859

llvm-svn: 372586

lldb/include/lldb/Host/Socket.h

index 6f96bd7..8aae97a 100644 (file)
@@ -31,7 +31,7 @@ class StringRef;
 
 namespace lldb_private {
 
-#if defined(_MSC_VER)
+#if defined(_WIN32)
 typedef SOCKET NativeSocket;
 #else
 typedef int NativeSocket;