diff --git a/support/include/utils/config.hpp b/support/include/utils/config.hpp index 47666a5b..02b556e3 100644 --- a/support/include/utils/config.hpp +++ b/support/include/utils/config.hpp @@ -415,6 +415,9 @@ using vlc_string_t = std::unique_ptr; #endif // defined(PROJECT_ENABLE_TPL) #if defined(PROJECT_ENABLE_WINFSP) +#if defined(_ReadWriteBarrier) +#undef _ReadWriteBarrier +#endif // defined(_ReadWriteBarrier) #include "winfsp/winfsp.hpp" #endif // defined(PROJECT_ENABLE_WINFSP) @@ -482,7 +485,7 @@ using http_ranges = std::vector; #endif // defined(__cplusplus) #define REPERTORY_USES_FUNCTION_NAME() \ - static constexpr std::string_view function_name { \ + static constexpr std::string_view function_name { \ static_cast(__FUNCTION__), \ }