From d41a71455e7c32e83a1612c24c73d1aeb3860d2d Mon Sep 17 00:00:00 2001 From: Martin Ertsaas Date: Fri, 7 Jun 2013 13:12:35 +0200 Subject: [PATCH] boost: Compile operations with bionic --- libs/filesystem/src/operations.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libs/filesystem/src/operations.cpp b/libs/filesystem/src/operations.cpp index 16a336f..4550487 100644 --- a/libs/filesystem/src/operations.cpp +++ b/libs/filesystem/src/operations.cpp @@ -73,10 +73,14 @@ using std::wstring; const fs::path dot_dot_path(".."); # include # include -# if !defined(__APPLE__) && !defined(__OpenBSD__) +# if !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__BIONIC__) # include # define BOOST_STATVFS statvfs # define BOOST_STATVFS_F_FRSIZE vfs.f_frsize +# elif defined(__BIONIC__) +# include +# define BOOST_STATVFS statfs +# define BOOST_STATVFS_F_FRSIZE vfs.f_bsize # else # ifdef __OpenBSD__ # include -- 1.8.1.5