forked from fmtlib/fmt
Allow including fmt/core.h in the header-only mode
This commit is contained in:
@@ -1957,6 +1957,9 @@ inline void print(const S& format_str, Args&&... args) {
|
|||||||
FMT_GCC_PRAGMA("GCC pop_options")
|
FMT_GCC_PRAGMA("GCC pop_options")
|
||||||
FMT_END_NAMESPACE
|
FMT_END_NAMESPACE
|
||||||
|
|
||||||
|
#ifdef FMT_HEADER_ONLY
|
||||||
|
#include "format.h"
|
||||||
|
#endif
|
||||||
#endif // FMT_CORE_H_
|
#endif // FMT_CORE_H_
|
||||||
|
|
||||||
// Define FMT_DYNAMIC_ARGS to make core.h provide dynamic_format_arg_store
|
// Define FMT_DYNAMIC_ARGS to make core.h provide dynamic_format_arg_store
|
||||||
|
Reference in New Issue
Block a user