diff --git a/capture/build/win32/capture.vcxproj b/capture/build/win32/capture.vcxproj
index 71a75e73..23b6d78d 100644
--- a/capture/build/win32/capture.vcxproj
+++ b/capture/build/win32/capture.vcxproj
@@ -87,7 +87,7 @@
true
TRACY_NO_STATISTICS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;WIN32_LEAN_AND_MEAN;NOMINMAX;_USE_MATH_DEFINES;%(PreprocessorDefinitions)
AdvancedVectorExtensions2
- stdcpp17
+ stdcpplatest
ws2_32.lib;%(AdditionalDependencies)
@@ -119,7 +119,7 @@
true
TRACY_NO_STATISTICS;NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;WIN32_LEAN_AND_MEAN;NOMINMAX;_USE_MATH_DEFINES;%(PreprocessorDefinitions)
AdvancedVectorExtensions2
- stdcpp17
+ stdcpplatest
true
diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp
index 7eb6449d..10ee5b86 100644
--- a/server/TracyWorker.cpp
+++ b/server/TracyWorker.cpp
@@ -8,7 +8,7 @@
#include
#include
-#if __has_include() && ( !defined _MSC_VER || _MSC_VER >= 1914 )
+#if ( defined _MSC_VER && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L
# include
#else
# include "tracy_pdqsort.h"
diff --git a/standalone/build/win32/Tracy.vcxproj b/standalone/build/win32/Tracy.vcxproj
index 457921cc..acb8d50c 100644
--- a/standalone/build/win32/Tracy.vcxproj
+++ b/standalone/build/win32/Tracy.vcxproj
@@ -55,7 +55,7 @@
true
AdvancedVectorExtensions2
Caret
- stdcpp17
+ stdcpplatest
Fast
@@ -79,7 +79,7 @@
true
AdvancedVectorExtensions2
Caret
- stdcpp17
+ stdcpplatest
Fast
diff --git a/update/build/win32/update.vcxproj b/update/build/win32/update.vcxproj
index 73a4ce78..d75c9838 100644
--- a/update/build/win32/update.vcxproj
+++ b/update/build/win32/update.vcxproj
@@ -87,7 +87,7 @@
true
TRACY_NO_STATISTICS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;WIN32_LEAN_AND_MEAN;NOMINMAX;_USE_MATH_DEFINES;%(PreprocessorDefinitions)
AdvancedVectorExtensions2
- stdcpp17
+ stdcpplatest
ws2_32.lib;%(AdditionalDependencies)
@@ -119,7 +119,7 @@
true
TRACY_NO_STATISTICS;NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;WIN32_LEAN_AND_MEAN;NOMINMAX;_USE_MATH_DEFINES;%(PreprocessorDefinitions)
AdvancedVectorExtensions2
- stdcpp17
+ stdcpplatest
true