mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Allow including fmt/core.h in the header-only mode
This commit is contained in:
parent
b441532396
commit
99c2f7a349
@ -1957,6 +1957,9 @@ inline void print(const S& format_str, Args&&... args) {
|
||||
FMT_GCC_PRAGMA("GCC pop_options")
|
||||
FMT_END_NAMESPACE
|
||||
|
||||
#ifdef FMT_HEADER_ONLY
|
||||
#include "format.h"
|
||||
#endif
|
||||
#endif // FMT_CORE_H_
|
||||
|
||||
// Define FMT_DYNAMIC_ARGS to make core.h provide dynamic_format_arg_store
|
||||
|
Loading…
Reference in New Issue
Block a user