fmt.h
Go to the documentation of this file.
1 //
2 // Copyright(c) 2016-2018 Gabi Melman.
3 // Distributed under the MIT License (http://opensource.org/licenses/MIT)
4 //
5 
6 #pragma once
7 
8 //
9 // Include a bundled header-only copy of fmtlib or an external one.
10 // By default spdlog include its own copy.
11 //
12 
13 #if !defined(SPDLOG_FMT_EXTERNAL)
14 #ifndef FMT_HEADER_ONLY
15 #define FMT_HEADER_ONLY
16 #endif
17 #ifndef FMT_USE_WINDOWS_H
18 #define FMT_USE_WINDOWS_H 0
19 #endif
20 #include "bundled/core.h"
21 #include "bundled/format.h"
22 #else // external fmtlib
23 #include <fmt/core.h>
24 #include <fmt/format.h>
25 #endif