summaryrefslogtreecommitdiff
path: root/include/lldb/Host/posix/Fcntl.h
blob: 833a905841412ef5bc2aa062304a0541fbcdc19c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//===-- Fcntl.h -------------------------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// 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_