Update 64-bit headers/libs
Also 1) rename lib -> lib64 2) add src/ for android-20/arch-arm64 and arch-mips64 3) delete android-9/arch-arm64 and arch-mips64 Change-Id: I4958c4e52946e29e57b910f39ff0104200853a06
This commit is contained in:
@@ -37,6 +37,20 @@
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#ifdef __LP64__
|
||||
/* LP64 kernels don't have flock64 because their flock is 64-bit. */
|
||||
struct flock64 {
|
||||
short l_type;
|
||||
short l_whence;
|
||||
off64_t l_start;
|
||||
off64_t l_len;
|
||||
pid_t l_pid;
|
||||
};
|
||||
#define F_GETLK64 F_GETLK
|
||||
#define F_SETLK64 F_SETLK
|
||||
#define F_SETLKW64 F_SETLKW
|
||||
#endif
|
||||
|
||||
#ifndef O_ASYNC
|
||||
#define O_ASYNC FASYNC
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user