[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-commit
Subject:    [Boost-commit] svn:boost r84916 - trunk/libs/filesystem/src
From:       antoshkka () gmail ! com
Date:       2013-06-30 10:51:55
Message-ID: 20130630105155.D75C515F694 () wowbagger ! crest ! iu ! edu
[Download RAW message or body]

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 mailing list
Boost-commit@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic