blob: 833a905841412ef5bc2aa062304a0541fbcdc19c [file] [log] [blame]
//===-- 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_