From 68ff757f96377f4baca0817e5051838dbfc1bb8c Mon Sep 17 00:00:00 2001 From: Edo Date: Mon, 6 Mar 2023 11:34:13 +0000 Subject: [PATCH] maint(cpp): use correct macro detection for format feature (#87) --- include/xsk/stdinc.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/xsk/stdinc.hpp b/include/xsk/stdinc.hpp index 13783c07..ae4cdc87 100644 --- a/include/xsk/stdinc.hpp +++ b/include/xsk/stdinc.hpp @@ -6,8 +6,10 @@ #pragma once #include + #include #include +#include #include #include #include @@ -16,7 +18,6 @@ #include #include #include -#include #include #include #include @@ -26,8 +27,9 @@ #include #include #include +#include -#if _WIN32 +#ifdef __cpp_lib_format #include namespace fmt = std; #else