Added __has_include(<execution>) back.

This commit is contained in:
Rokas Kupstys 2018-07-17 19:10:49 +03:00
parent 5c75fe292f
commit 8a8faa3d6c

View File

@ -9,11 +9,18 @@
#include <string.h> #include <string.h>
#if ( defined _MSC_VER && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L #if ( defined _MSC_VER && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L
# if __has_include(<execution>)
# include <execution> # include <execution>
# else # else
# include "tracy_pdqsort.h"
# define MY_LIBCPP_SUCKS # define MY_LIBCPP_SUCKS
# endif # endif
#else
# define MY_LIBCPP_SUCKS
#endif
#if MY_LIBCPP_SUCKS
# include "tracy_pdqsort.h"
#endif
#include "../common/TracyProtocol.hpp" #include "../common/TracyProtocol.hpp"
#include "../common/TracySystem.hpp" #include "../common/TracySystem.hpp"