diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2020-01-17 20:45:01 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2020-01-17 20:45:01 +0000 |
commit | 706b4fc47bbc608932d3b491ae19a3b9cde9497b (patch) | |
tree | 4adf86a776049cbf7f69a1929c4babcbbef925eb /lldb/source/Host/common/Socket.cpp | |
parent | 7cc9cf2bf09f069cb2dd947ead05d0b54301fb71 (diff) |
Notes
Diffstat (limited to 'lldb/source/Host/common/Socket.cpp')
-rw-r--r-- | lldb/source/Host/common/Socket.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Host/common/Socket.cpp b/lldb/source/Host/common/Socket.cpp index 6358ab8a8e77..7fba1daff75f 100644 --- a/lldb/source/Host/common/Socket.cpp +++ b/lldb/source/Host/common/Socket.cpp @@ -22,7 +22,7 @@ #include "llvm/Support/Error.h" #include "llvm/Support/WindowsError.h" -#ifndef LLDB_DISABLE_POSIX +#if LLDB_ENABLE_POSIX #include "lldb/Host/posix/DomainSocket.h" #include <arpa/inet.h> @@ -122,7 +122,7 @@ std::unique_ptr<Socket> Socket::Create(const SocketProtocol protocol, std::make_unique<UDPSocket>(true, child_processes_inherit); break; case ProtocolUnixDomain: -#ifndef LLDB_DISABLE_POSIX +#if LLDB_ENABLE_POSIX socket_up = std::make_unique<DomainSocket>(true, child_processes_inherit); #else |