Added FMT_IMPORT_STD feature macro (#3928)

This commit is contained in:
Matthias Moulin
2024-04-10 20:48:32 +02:00
committed by GitHub
parent 5eb68c0ef2
commit 116a9ce488
13 changed files with 137 additions and 98 deletions

View File

@@ -12,9 +12,13 @@
#include <stdio.h> // FILE
#include <string.h> // strlen
#ifndef FMT_IMPORT_STD
// <cstddef> is also included transitively from <type_traits>.
#include <cstddef> // std::byte
#include <type_traits> // std::enable_if
# include <cstddef> // std::byte
# include <type_traits> // std::enable_if
#else
import std;
#endif
// The fmt library version in the form major * 10000 + minor * 100 + patch.
#define FMT_VERSION 100202