1 https://svn.boost.org/trac10/ticket/13230 unified headers causing trouble with that..
2 diff -ur boost.org/libs/filesystem/src/operations.cpp boost/libs/filesystem/src/operations.cpp
3 --- boost.org/libs/filesystem/src/operations.cpp 2017-11-22 02:21:33.724304181 +0100
4 +++ boost/libs/filesystem/src/operations.cpp 2017-11-22 02:21:59.686302450 +0100
6 //--------------------------------------------------------------------------------------//
8 // define 64-bit offset macros BEFORE including boost/config.hpp (see ticket #5355)
9 -#if !(defined(__HP_aCC) && defined(_ILP32) && !defined(_STATVFS_ACPP_PROBLEMS_FIXED))
10 -#define _FILE_OFFSET_BITS 64 // at worst, these defines may have no effect,
13 -#define __USE_FILE_OFFSET64 // but that is harmless on Windows and on POSIX
14 - // 64-bit systems or on 32-bit systems which don't have files larger
15 - // than can be represented by a traditional POSIX/UNIX off_t type.
16 - // OTOH, defining them should kick in 64-bit off_t's (and thus
17 - // st_size)on 32-bit systems that provide the Large File
18 - // Support (LFS)interface, such as Linux, Solaris, and IRIX.
19 - // The defines are given before any headers are included to
20 - // ensure that they are available to all included headers.
21 - // That is required at least on Solaris, and possibly on other
24 -#define _FILE_OFFSET_BITS 64
27 // define BOOST_FILESYSTEM_SOURCE so that <boost/filesystem/config.hpp> knows
28 // the library is being built (possibly exporting rather than importing code)