Ticket #8285: filesystem-android.patch
File filesystem-android.patch, 598 bytes (added by , 10 years ago) |
---|
-
libs/filesystem/src/operations.cpp
old new 74 74 # include <sys/types.h> 75 75 # include <sys/stat.h> 76 76 # if !defined(__APPLE__) && !defined(__OpenBSD__) 77 # include <sys/statvfs.h> 77 # ifndef __ANDROID__ 78 # include <sys/statvfs.h> 79 # else 80 # include <sys/vfs.h> 81 # define statvfs statfs 82 # define fstatvfs fstatfs 83 # endif 78 84 # define BOOST_STATVFS statvfs 79 85 # define BOOST_STATVFS_F_FRSIZE vfs.f_frsize 80 86 # else