From 068e752aa7cad3dc745e13d2d9d311ff50571943 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 6 Feb 2020 00:01:26 +0100 Subject: [PATCH] No charconv for MSVC < 16.4. https://docs.microsoft.com/en-us/cpp/overview/visual-cpp-language-conformance?view=vs-2019#note_charconv --- server/TracyPrint.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/TracyPrint.hpp b/server/TracyPrint.hpp index 9c7f45a5..da513767 100644 --- a/server/TracyPrint.hpp +++ b/server/TracyPrint.hpp @@ -12,6 +12,10 @@ # define NO_CHARCONV #endif +#if defined _MSC_VER && _MSC_VER < 1924 +# define NO_CHARCONV +#endif + #ifdef NO_CHARCONV # include #endif