Merge "Add __RENAME_IF_FILE_OFFSET64."

This commit is contained in:
Treehugger Robot 2017-07-19 05:37:13 +00:00 committed by Gerrit Code Review
commit 0d6485eca4
1 changed files with 4 additions and 3 deletions

View File

@ -235,10 +235,11 @@
#endif
/* _FILE_OFFSET_BITS 64 support. */
#if !defined(__LP64__) && defined(_FILE_OFFSET_BITS)
#if _FILE_OFFSET_BITS == 64
#if !defined(__LP64__) && defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64
#define __USE_FILE_OFFSET64 1
#endif
#define __RENAME_IF_FILE_OFFSET64(func) __RENAME(func)
#else
#define __RENAME_IF_FILE_OFFSET64(func)
#endif
#define __BIONIC__ 1