Skip to content

Conversation

@okhowang
Copy link
Contributor

@okhowang okhowang commented Apr 7, 2020

  1. langinfo
    <langinfo.h> is included by nl_langinfo which is used in condition.
    so I just sync this condition with headers. because some old ndk(r13) has no <langinfo.h>
  2. statfs
    according to https://stackoverflow.com/questions/8275203/compiling-a-subset-of-boost-libraries-for-android-ndk, android platform can use <vfs.h> instead of <statfs.h> immediately.
  3. utimensat
    api level < 12 has no utimensat function. see https://android-review.googlesource.com/c/platform/development/+/69602, and https://stackoverflow.com/questions/19374749/how-to-work-around-absence-of-futimes-in-android-ndk.
    so I use syscall instead. And define UTIME_OMIT if it's not defined

@gulrak
Copy link
Owner

gulrak commented Apr 7, 2020

Thank you for the PR!

@gulrak gulrak merged commit 6b30995 into gulrak:master Apr 7, 2020
@gulrak gulrak added this to the v1.3.4 milestone Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants