xref: /freebsd/contrib/llvm-project/lldb/source/Utility/IOObject.cpp (revision 700637cbb5e582861067a11aaca4d053546871d2)
1 //===-- IOObject.cpp ------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #include "lldb/Utility/IOObject.h"
10 
11 #ifdef _WIN32
12 #include "lldb/Host/windows/windows.h"
13 #endif
14 
15 using namespace lldb_private;
16 
17 #ifdef _WIN32
18 const IOObject::WaitableHandle IOObject::kInvalidHandleValue =
19     INVALID_HANDLE_VALUE;
20 #else
21 const IOObject::WaitableHandle IOObject::kInvalidHandleValue = -1;
22 #endif
23 IOObject::~IOObject() = default;
24