LockFile.h 704 B

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