]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - include/lldb/Host/posix/Fcntl.h
Vendor import of lldb trunk r290819:
[FreeBSD/FreeBSD.git] / include / lldb / Host / posix / Fcntl.h
1 //===-- Fcntl.h -------------------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 // This file defines fcntl functions & structures
11
12 #ifndef liblldb_Host_posix_Fcntl_h_
13 #define liblldb_Host_posix_Fcntl_h_
14
15 #ifdef __ANDROID__
16 #include <android/api-level.h>
17 #endif
18
19 #include <fcntl.h>
20
21 #if defined(__ANDROID_API__) && __ANDROID_API__ < 21
22 #define F_DUPFD_CLOEXEC (F_LINUX_SPECIFIC_BASE + 6)
23 #endif
24
25 #endif // liblldb_Host_posix_Fcntl_h_