1 | --- libs/filesystem/src/path.cpp.orig 2012-04-16 15:36:28.000000000 +0200
|
---|
2 | +++ libs/filesystem/src/path.cpp 2013-02-06 14:59:04.057292773 +0100
|
---|
3 | @@ -35,7 +35,7 @@
|
---|
4 | #ifdef BOOST_WINDOWS_API
|
---|
5 | # include "windows_file_codecvt.hpp"
|
---|
6 | # include <windows.h>
|
---|
7 | -#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
|
---|
8 | +#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) || defined(__FreeBSD__)
|
---|
9 | # include <boost/filesystem/detail/utf8_codecvt_facet.hpp>
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | @@ -828,7 +828,7 @@
|
---|
13 | codecvt_facet_ptr(&std::use_facet<std::codecvt<wchar_t, char, std::mbstate_t> >
|
---|
14 | (path_locale));
|
---|
15 |
|
---|
16 | -#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
|
---|
17 | +#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) || defined(__FreeBSD__)
|
---|
18 |
|
---|
19 | // "All BSD system functions expect their string parameters to be in UTF-8 encoding
|
---|
20 | // and nothing else." See
|
---|
21 | @@ -903,7 +903,7 @@
|
---|
22 | const path::codecvt_type& path::codecvt()
|
---|
23 | {
|
---|
24 | # if defined(BOOST_POSIX_API) && \
|
---|
25 | - !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__))
|
---|
26 | + !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) || defined(__FreeBSD__))
|
---|
27 | // A local static initialized by calling path::imbue ensures that std::locale(""),
|
---|
28 | // which may throw, is called only if path_locale and condecvt_facet will actually
|
---|
29 | // be used. Thus misconfigured environmental variables will only cause an
|
---|