mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 18:11:33 +08:00
#error if compiling spdlog.cpp under header only configuration
This commit is contained in:
parent
654f7eceee
commit
3834acad5b
@ -1,7 +1,8 @@
|
|||||||
// Copyright(c) 2015-present Gabi Melman & spdlog contributors.
|
// Copyright(c) 2015-present Gabi Melman & spdlog contributors.
|
||||||
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
||||||
|
|
||||||
#ifndef SPDLOG_STATIC_LIB
|
#ifndef SPDLOG_STATIC_LIB
|
||||||
#error spdlog is in HEADER_ONLY configuration. Define SPDLOG_STATIC_LIB to compile this file.
|
#error Please define SPDLOG_STATIC_LIB to compile this file.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
Loading…
Reference in New Issue
Block a user