Opened 10 years ago
Last modified 10 years ago
#7224 new Patches
Fix endian.hpp and Filesystem on Android
Reported by: | Owned by: | Beman Dawes | |
---|---|---|---|
Milestone: | To Be Determined | Component: | filesystem |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
The attached patch allows to compile most of Boost for Android. Two changes are required:
1) Tell boost/detail/endian.hpp that Android has <endian.h> 2) Android doesn't have statvfs, so make libs/filesystem/src/operations.cpp use statfs instead.
Attachments (2)
Change History (5)
by , 10 years ago
Attachment: | boost-android.patch added |
---|
comment:1 by , 10 years ago
Component: | None → filesystem |
---|---|
Owner: | set to |
comment:2 by , 10 years ago
by , 10 years ago
Attachment: | 0001-Fix-compilation-on-Android-for-Boost-filesystem.patch added |
---|
Note:
See TracTickets
for help on using tickets.
Would be nice to have the patch for boost::filesystem on Android included. I can verify that the above patch works.