1 | //===-- LockFile.h ----------------------------------------------*- C++ -*-===// |
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 | #ifndef LLDB_HOST_LOCKFILE_H |
10 | #define LLDB_HOST_LOCKFILE_H |
11 | |
12 | #if defined(_WIN32) |
13 | #include "lldb/Host/windows/LockFileWindows.h" |
14 | namespace lldb_private { |
15 | typedef LockFileWindows LockFile; |
16 | } |
17 | #else |
18 | #include "lldb/Host/posix/LockFilePosix.h" |
19 | namespace lldb_private { |
20 | typedef LockFilePosix LockFile; |
21 | } |
22 | #endif |
23 | |
24 | #endif // LLDB_HOST_LOCKFILE_H |
25 | |