Fix aarch64 and x86-64 AndroidConfig.h.
_LARGEFILE_SOURCE should never be defined with bionic. _FILE_OFFSET_BITS should be 64 on 64-bit architectures. Change-Id: I7acf6b39a3af7782d5d7ad00f709593d96fa8522
This commit is contained in:
@@ -166,7 +166,7 @@
|
|||||||
#define HAVE_LITTLE_ENDIAN
|
#define HAVE_LITTLE_ENDIAN
|
||||||
|
|
||||||
#define _FILE_OFFSET_BITS 64
|
#define _FILE_OFFSET_BITS 64
|
||||||
#define _LARGEFILE_SOURCE 1
|
/* #define _LARGEFILE_SOURCE 1 */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Define if platform has off64_t (and lseek64 and other xxx64 functions)
|
* Define if platform has off64_t (and lseek64 and other xxx64 functions)
|
||||||
|
@@ -157,10 +157,10 @@
|
|||||||
* agree on the same size. For desktop systems, use 64-bit values,
|
* agree on the same size. For desktop systems, use 64-bit values,
|
||||||
* because some of our libraries (e.g. wxWidgets) expect to be built that way.
|
* because some of our libraries (e.g. wxWidgets) expect to be built that way.
|
||||||
*/
|
*/
|
||||||
/*
|
#if __LP64__
|
||||||
* #define _FILE_OFFSET_BITS 64
|
#define _FILE_OFFSET_BITS 64
|
||||||
* #define _LARGEFILE_SOURCE 1
|
#endif
|
||||||
*/
|
/* #define _LARGEFILE_SOURCE 1 */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Define if platform has off64_t (and lseek64 and other xxx64 functions)
|
* Define if platform has off64_t (and lseek64 and other xxx64 functions)
|
||||||
|
Reference in New Issue
Block a user