mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Fix msvc builds when required c++ standard version is set to lower than c++17.
Also use latest available c++ standard which allows using older VS versions that only support c++14.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#include <mutex>
|
||||
#include <string.h>
|
||||
|
||||
#if __has_include(<execution>) && ( !defined _MSC_VER || _MSC_VER >= 1914 )
|
||||
#if ( defined _MSC_VER && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L
|
||||
# include <execution>
|
||||
#else
|
||||
# include "tracy_pdqsort.h"
|
||||
|
||||
Reference in New Issue
Block a user