maint(cpp): use correct macro detection for format feature (#87)
This commit is contained in:
parent
f6ae955f34
commit
e05d853ba6
@ -6,8 +6,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <deque>
|
||||
#include <filesystem>
|
||||
#include <fstream>
|
||||
#include <functional>
|
||||
@ -16,7 +18,6 @@
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <queue>
|
||||
#include <deque>
|
||||
#include <regex>
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
@ -26,8 +27,9 @@
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
#include <vector>
|
||||
#include <version>
|
||||
|
||||
#if _WIN32
|
||||
#ifdef __cpp_lib_format
|
||||
#include <format>
|
||||
namespace fmt = std;
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user