blob: ff09eb475f7858fd6a1376ff71bd99bc265883a7 [file] [log] [blame]
Andrew Walbran3d2c1972020-04-07 12:24:26 +01001//===-- 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 Deprezf4ef2d02021-04-20 13:36:24 +02009#ifndef LLDB_HOST_LOCKFILE_H
10#define LLDB_HOST_LOCKFILE_H
Andrew Walbran3d2c1972020-04-07 12:24:26 +010011
12#if defined(_WIN32)
13#include "lldb/Host/windows/LockFileWindows.h"
14namespace lldb_private {
15typedef LockFileWindows LockFile;
16}
17#else
18#include "lldb/Host/posix/LockFilePosix.h"
19namespace lldb_private {
20typedef LockFilePosix LockFile;
21}
22#endif
23
Olivier Deprezf4ef2d02021-04-20 13:36:24 +020024#endif // LLDB_HOST_LOCKFILE_H