bitz-server  2.0.3
fmt.h
1 //
2 // Copyright(c) 2016 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 
15 #ifndef FMT_HEADER_ONLY
16 #define FMT_HEADER_ONLY
17 #endif
18 #ifndef FMT_USE_WINDOWS_H
19 #define FMT_USE_WINDOWS_H 0
20 #endif
21 #include "bundled/format.h"
22 #if defined(SPDLOG_FMT_PRINTF)
23 #include "bundled/printf.h"
24 #endif
25 
26 #else // external fmtlib
27 
28 #include <fmt/format.h>
29 #if defined(SPDLOG_FMT_PRINTF)
30 #include <fmt/printf.h>
31 #endif
32 
33 #endif