Add shared library support for Windows

This commit is contained in:
Martin Vejdarski
2020-03-10 02:02:16 +07:00
parent 67561f97ec
commit 0ca2cb625e
22 changed files with 118 additions and 100 deletions

View File

@@ -11,7 +11,7 @@ namespace details {
// Extend log_msg with internal buffer to store its payload.
// THis is needed since log_msg holds string_views that points to stack data.
class log_msg_buffer : public log_msg
class SPDLOG_API log_msg_buffer : public log_msg
{
memory_buf_t buffer;
void update_string_views();