[Lldb-commits] [lldb] 8effceb - [lldb] rm include/lldb/Host/posix/Fcntl.h
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 22 07:14:02 PST 2022
Author: Pavel Labath
Date: 2022-11-22T16:13:29+01:00
New Revision: 8effceb570d924675cd4b15e6ca25311598797d1
URL: https://github.com/llvm/llvm-project/commit/8effceb570d924675cd4b15e6ca25311598797d1
DIFF: https://github.com/llvm/llvm-project/commit/8effceb570d924675cd4b15e6ca25311598797d1.diff
LOG: [lldb] rm include/lldb/Host/posix/Fcntl.h
File is unused.
Added:
Modified:
Removed:
lldb/include/lldb/Host/posix/Fcntl.h
################################################################################
diff --git a/lldb/include/lldb/Host/posix/Fcntl.h b/lldb/include/lldb/Host/posix/Fcntl.h
deleted file mode 100644
index 31cc293dd37a6..0000000000000
--- a/lldb/include/lldb/Host/posix/Fcntl.h
+++ /dev/null
@@ -1,24 +0,0 @@
-//===-- Fcntl.h -------------------------------------------------*- C++ -*-===//
-//
-// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-// See https://llvm.org/LICENSE.txt for license information.
-// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-//
-//===----------------------------------------------------------------------===//
-
-// This file defines fcntl functions & structures
-
-#ifndef liblldb_Host_posix_Fcntl_h_
-#define liblldb_Host_posix_Fcntl_h_
-
-#ifdef __ANDROID__
-#include <android/api-level.h>
-#endif
-
-#include <fcntl.h>
-
-#if defined(__ANDROID_API__) && __ANDROID_API__ < 21
-#define F_DUPFD_CLOEXEC (F_LINUX_SPECIFIC_BASE + 6)
-#endif
-
-#endif // liblldb_Host_posix_Fcntl_h_
More information about the lldb-commits
mailing list