diff --git a/include/spdlog/details/os.h b/include/spdlog/details/os.h index 0c03aed4..2c6fc91c 100644 --- a/include/spdlog/details/os.h +++ b/include/spdlog/details/os.h @@ -91,7 +91,7 @@ SPDLOG_API bool in_terminal(FILE *file) SPDLOG_NOEXCEPT; #if (defined(SPDLOG_WCHAR_TO_UTF8_SUPPORT) || defined(SPDLOG_WCHAR_FILENAMES)) && defined(_WIN32) SPDLOG_API void wstr_to_utf8buf(wstring_view_t wstr, memory_buf_t &target); -SPDLOG_INLINE void utf8_to_wstrbuf(string_view_t str, memory_buf_t &target); +SPDLOG_API void utf8_to_wstrbuf(string_view_t str, memory_buf_t &target); #endif // Return directory name from given path or empty string