Ticket #8285: filesystem-android.patch

File filesystem-android.patch, 598 bytes (added by boost.lists@…, 10 years ago)
  • libs/filesystem/src/operations.cpp

    old new  
    7474#   include <sys/types.h>
    7575#   include <sys/stat.h>
    7676#   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
    7884#     define BOOST_STATVFS statvfs
    7985#     define BOOST_STATVFS_F_FRSIZE vfs.f_frsize
    8086#   else