1 | Index: libs/filesystem/v2/src/v2_operations.cpp
|
---|
2 | ===================================================================
|
---|
3 | --- libs/filesystem/v2/src/v2_operations.cpp (revision 75283)
|
---|
4 | +++ libs/filesystem/v2/src/v2_operations.cpp (working copy)
|
---|
5 | @@ -58,14 +58,11 @@
|
---|
6 |
|
---|
7 | # else // BOOST_POSIX_API
|
---|
8 | # include <sys/types.h>
|
---|
9 | -# if !defined(__APPLE__) && !defined(__OpenBSD__)
|
---|
10 | +# ifndef __APPLE__
|
---|
11 | # include <sys/statvfs.h>
|
---|
12 | # define BOOST_STATVFS statvfs
|
---|
13 | # define BOOST_STATVFS_F_FRSIZE vfs.f_frsize
|
---|
14 | # else
|
---|
15 | -#ifdef __OpenBSD__
|
---|
16 | -# include <sys/param.h>
|
---|
17 | -#endif
|
---|
18 | # include <sys/mount.h>
|
---|
19 | # define BOOST_STATVFS statfs
|
---|
20 | # define BOOST_STATVFS_F_FRSIZE static_cast<boost::uintmax_t>( vfs.f_bsize )
|
---|
21 | Index: libs/filesystem/v3/src/operations.cpp
|
---|
22 | ===================================================================
|
---|
23 | --- libs/filesystem/v3/src/operations.cpp (revision 75283)
|
---|
24 | +++ libs/filesystem/v3/src/operations.cpp (working copy)
|
---|
25 | @@ -81,14 +81,11 @@
|
---|
26 | const fs::path dot_path(".");
|
---|
27 | const fs::path dot_dot_path("..");
|
---|
28 | # include <sys/types.h>
|
---|
29 | -# if !defined(__APPLE__) && !defined(__OpenBSD__)
|
---|
30 | +# ifndef __APPLE__
|
---|
31 | # include <sys/statvfs.h>
|
---|
32 | # define BOOST_STATVFS statvfs
|
---|
33 | # define BOOST_STATVFS_F_FRSIZE vfs.f_frsize
|
---|
34 | # else
|
---|
35 | -# ifdef __OpenBSD__
|
---|
36 | -# include <sys/param.h>
|
---|
37 | -# endif
|
---|
38 | # include <sys/mount.h>
|
---|
39 | # define BOOST_STATVFS statfs
|
---|
40 | # define BOOST_STATVFS_F_FRSIZE static_cast<boost::uintmax_t>(vfs.f_bsize)
|
---|