tracy/server/TracySort.hpp
Bartosz Taudul 651cfd5c21 Now apple has to be stupid.
Remove this when they get their shit together with parallel execution.
2020-10-28 21:16:26 +01:00

18 lines
360 B
C++

#ifndef __TRACYSORT_HPP__
#define __TRACYSORT_HPP__
#if !defined __APPLE__ && ( ( defined _MSC_VER && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L )
# if __has_include(<execution>)
# include <algorithm>
# include <execution>
# else
# define NO_PARALLEL_SORT
# endif
#else
# define NO_PARALLEL_SORT
#endif
#include "tracy_pdqsort.h"
#endif