2
0
mirror of https://github.com/boostorg/log.git synced 2026-01-19 04:22:09 +00:00

Use new Boost.Filesystem platform API macros.

This commit is contained in:
Andrey Semashev
2025-12-26 16:00:53 +03:00
parent d70b528bc5
commit 2fc825acfe

View File

@@ -78,7 +78,7 @@ BOOST_LOG_ANONYMOUS_NAMESPACE {
//! A possible Boost.Filesystem extension - renames or moves the file to the target storage
inline void move_file(filesystem::path const& from, filesystem::path const& to)
{
#if defined(BOOST_WINDOWS_API)
#if defined(BOOST_FILESYSTEM_WINDOWS_API)
// On Windows MoveFile already does what we need
filesystem::rename(from, to);
#else