Ticket #8352: boost_filesystem.diff
File boost_filesystem.diff, 1.2 KB (added by , 10 years ago) |
---|
-
libs/filesystem/src/path.cpp
39 39 #ifdef BOOST_WINDOWS_API 40 40 # include "windows_file_codecvt.hpp" 41 41 # include <windows.h> 42 #elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) || defined(__FreeBSD__) 42 #elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) || defined(__FreeBSD__) || \ 43 defined(__OpenBSD__) 43 44 # include <boost/filesystem/detail/utf8_codecvt_facet.hpp> 44 45 #endif 45 46 … … 817 818 # if defined(BOOST_WINDOWS_API) 818 819 std::locale global_loc = std::locale(); 819 820 return std::locale(global_loc, new windows_file_codecvt); 820 # elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) || defined(__FreeBSD__) 821 # elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) || defined(__FreeBSD__) || \ 822 defined(__OpenBSD__) 821 823 // "All BSD system functions expect their string parameters to be in UTF-8 encoding 822 824 // and nothing else." See 823 825 // http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPInternational/Articles/FileEncodings.html