Commit | Line | Data |
---|---|---|
59f0d218 FF |
1 | Avoid defining constants which causes at least dpkg build to think that |
2 | sync_file_range(2) is available - which it is not. | |
3 | ||
4 | diff -u -r /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/fcntl.h ./usr/include/fcntl.h | |
5 | --- /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/fcntl.h 2014-10-14 22:53:49.000000000 -0400 | |
6 | +++ ./usr/include/fcntl.h 2014-12-16 05:51:38.371338608 -0500 | |
7 | @@ -59,10 +59,6 @@ | |
8 | #define SPLICE_F_MORE 4 | |
9 | #define SPLICE_F_GIFT 8 | |
10 | ||
11 | -#define SYNC_FILE_RANGE_WAIT_BEFORE 1 | |
12 | -#define SYNC_FILE_RANGE_WRITE 2 | |
13 | -#define SYNC_FILE_RANGE_WAIT_AFTER 4 | |
14 | - | |
15 | extern int creat(const char*, mode_t); | |
16 | extern int creat64(const char*, mode_t); | |
17 | extern int fallocate64(int, int, off64_t, off64_t); |