Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-15 10:31:07

0001 //
0002 // Copyright(c) 2016-2018 Gabi Melman.
0003 // Distributed under the MIT License (http://opensource.org/licenses/MIT)
0004 //
0005 
0006 #pragma once
0007 
0008 //
0009 // Include a bundled header-only copy of fmtlib or an external one.
0010 // By default spdlog include its own copy.
0011 //
0012 #include <spdlog/tweakme.h>
0013 
0014 #if defined(SPDLOG_USE_STD_FORMAT)  // SPDLOG_USE_STD_FORMAT is defined - use std::format
0015     #include <format>
0016 #elif !defined(SPDLOG_FMT_EXTERNAL)
0017     #if !defined(SPDLOG_COMPILED_LIB) && !defined(FMT_HEADER_ONLY)
0018         #define FMT_HEADER_ONLY
0019     #endif
0020     #ifndef FMT_USE_WINDOWS_H
0021         #define FMT_USE_WINDOWS_H 0
0022     #endif
0023 
0024     #include <spdlog/fmt/bundled/core.h>
0025     #include <spdlog/fmt/bundled/format.h>
0026 
0027 #else  // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
0028     #include <fmt/core.h>
0029     #include <fmt/format.h>
0030 #endif