Ticket #7224: boost-android.patch
File boost-android.patch, 1.3 KB (added by , 10 years ago) |
---|
-
boost/detail/endian.hpp
31 31 // GNU libc offers the helpful header <endian.h> which defines 32 32 // __BYTE_ORDER 33 33 34 #if defined (__GLIBC__) 34 #if defined (__GLIBC__) || defined (__ANDROID__) 35 35 # include <endian.h> 36 36 # if (__BYTE_ORDER == __LITTLE_ENDIAN) 37 37 # define BOOST_LITTLE_ENDIAN -
libs/filesystem/src/operations.cpp
73 73 const fs::path dot_dot_path(".."); 74 74 # include <sys/types.h> 75 75 # include <sys/stat.h> 76 # if !defined(__APPLE__) && !defined(__OpenBSD__) 76 # if !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__ANDROID__) 77 77 # include <sys/statvfs.h> 78 78 # define BOOST_STATVFS statvfs 79 79 # define BOOST_STATVFS_F_FRSIZE vfs.f_frsize … … 81 81 # ifdef __OpenBSD__ 82 82 # include <sys/param.h> 83 83 # endif 84 # ifdef __ANDROID__ 85 # include <sys/vfs.h> 86 # endif 84 87 # include <sys/mount.h> 85 88 # define BOOST_STATVFS statfs 86 89 # define BOOST_STATVFS_F_FRSIZE static_cast<boost::uintmax_t>(vfs.f_bsize)