Merge "Only rename sendfile to sendfile64 if we're L or newer."

This commit is contained in:
Elliott Hughes 2017-03-20 20:01:06 +00:00 committed by Gerrit Code Review
commit f12d719b01

View file

@ -34,7 +34,7 @@
__BEGIN_DECLS
#if defined(__USE_FILE_OFFSET64)
#if defined(__USE_FILE_OFFSET64) && __ANDROID_API__ >= __ANDROID_API_L__
ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count) __RENAME(sendfile64)
__INTRODUCED_IN(21);
#else