Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
<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>
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.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