Andrew Walbran | 3d2c197 | 2020-04-07 12:24:26 +0100 | [diff] [blame] | 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 | |
Olivier Deprez | f4ef2d0 | 2021-04-20 13:36:24 +0200 | [diff] [blame] | 9 | #ifndef LLDB_HOST_LOCKFILE_H |
| 10 | #define LLDB_HOST_LOCKFILE_H |
Andrew Walbran | 3d2c197 | 2020-04-07 12:24:26 +0100 | [diff] [blame] | 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 | |
Olivier Deprez | f4ef2d0 | 2021-04-20 13:36:24 +0200 | [diff] [blame] | 24 | #endif // LLDB_HOST_LOCKFILE_H |