mirror of
https://github.com/slendidev/lunar.git
synced 2026-01-31 00:38:59 +02:00
19
subprojects/tracy/server/TracySort.hpp
Normal file
19
subprojects/tracy/server/TracySort.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef __TRACYSORT_HPP__
|
||||
#define __TRACYSORT_HPP__
|
||||
|
||||
#ifndef NO_PARALLEL_SORT
|
||||
# if !defined __APPLE__ && !defined __EMSCRIPTEN__ && ( ( 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
|
||||
#endif
|
||||
|
||||
#include "tracy_pdqsort.h"
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user