plugify  1.0.0.0
compat_format.hpp
1 #pragma once
2 
3 #if PLUGIFY_FORMAT_SUPPORT
4 
5 #include <format>
6 
7 #else // PLUGIFY_FORMAT_SUPPORT
8 
9 // Define FMT_FORMAT_H externally to force a difference location for {fmt}
10 #ifndef FMT_FORMAT_H
11 #define FMT_FORMAT_H <fmt/format.h>
12 #endif
13 
14 #ifndef FMT_HEADER_ONLY
15 #define FMT_HEADER_ONLY
16 #endif
17 #include FMT_FORMAT_H
18 
19 namespace std {
20  using namespace fmt;
21 }
22 
23 #endif // PLUGIFY_FORMAT_SUPPORT