1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Move parallel sort header mumbo jumbo to a separate file.

This commit is contained in:
Bartosz Taudul
2020-01-20 23:16:33 +01:00
parent 6f31eb2a9d
commit 7d78923967
4 changed files with 28 additions and 17 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef __TRACYSORT_HPP__
#define __TRACYSORT_HPP__
#if ( 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
#ifdef NO_PARALLEL_SORT
# include "tracy_pdqsort.h"
#endif
#endif