Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84916 - trunk/libs/filesystem/src
From: antoshkka_at_[hidden]
Date: 2013-06-30 06:51:55


Author: apolukhin
Date: 2013-06-30 06:51:55 EDT (Sun, 30 Jun 2013)
New Revision: 84916
URL: http://svn.boost.org/trac/boost/changeset/84916

Log:
Apply trivial patch for Android compilation of Boost.Filesystem (refs #8706)

Text files modified:
   trunk/libs/filesystem/src/operations.cpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/libs/filesystem/src/operations.cpp
==============================================================================
--- trunk/libs/filesystem/src/operations.cpp Sat Jun 29 15:12:52 2013 (r84915)
+++ trunk/libs/filesystem/src/operations.cpp 2013-06-30 06:51:55 EDT (Sun, 30 Jun 2013) (r84916)
@@ -73,13 +73,15 @@
     const fs::path dot_dot_path("..");
 # include <sys/types.h>
 # include <sys/stat.h>
-# if !defined(__APPLE__) && !defined(__OpenBSD__)
+# if !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__ANDROID__)
 # include <sys/statvfs.h>
 # define BOOST_STATVFS statvfs
 # define BOOST_STATVFS_F_FRSIZE vfs.f_frsize
 # else
 # ifdef __OpenBSD__
 # include <sys/param.h>
+# elif defined(__ANDROID__)
+# include <sys/vfs.h>
 # endif
 # include <sys/mount.h>
 # define BOOST_STATVFS statfs


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk