mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
651cfd5c21
Remove this when they get their shit together with parallel execution.
18 lines
360 B
C++
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
|