OSDN Git Service

Only rename fgetpos/fsetpos/fseeko/ftello/funopen if we're N or newer.
authorElliott Hughes <enh@google.com>
Sat, 18 Mar 2017 01:56:08 +0000 (18:56 -0700)
committerElliott Hughes <enh@google.com>
Sat, 18 Mar 2017 01:56:08 +0000 (18:56 -0700)
commit79a3db030475792f8ee355292235d3453f50db65
tree737ec0a93f712f489970fc4bd4737e190c761100
parent9cb82a2c6b9001f7c50cbb3465f4aabc5d7cd055
Only rename fgetpos/fsetpos/fseeko/ftello/funopen if we're N or newer.

Without this, setting __FILE_OFFSET_BITS to 64 and targeting pre-L
made these functions entirely unavailable.

Bug: https://github.com/android-ndk/ndk/issues/333
Test: builds
Change-Id: Id17ae3c070f8b2650a9bc9aa2aa2e92c5fcdf4ad
libc/include/stdio.h