Author: mstorsjo Date: Mon Sep 23 05:02:59 2019 New Revision: 372586 URL: http://llvm.org/viewvc/llvm-project?rev=372586&view=rev Log: [LLDB] Use the Windows SOCKET type on all windows targets, not only MSVC
Differential Revision: https://reviews.llvm.org/D67859 Modified: lldb/trunk/include/lldb/Host/Socket.h Modified: lldb/trunk/include/lldb/Host/Socket.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Host/Socket.h?rev=372586&r1=372585&r2=372586&view=diff ============================================================================== --- lldb/trunk/include/lldb/Host/Socket.h (original) +++ lldb/trunk/include/lldb/Host/Socket.h Mon Sep 23 05:02:59 2019 @@ -31,7 +31,7 @@ class StringRef; namespace lldb_private { -#if defined(_MSC_VER) +#if defined(_WIN32) typedef SOCKET NativeSocket; #else typedef int NativeSocket; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits