mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Allow setting NO_PARALLEL_SORT externally.
This commit is contained in:
parent
207a48e986
commit
d71d76414b
@ -1,6 +1,7 @@
|
||||
#ifndef __TRACYSORT_HPP__
|
||||
#define __TRACYSORT_HPP__
|
||||
|
||||
#ifndef NO_PARALLEL_SORT
|
||||
# if !defined __APPLE__ && ( ( defined _MSC_VER && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L )
|
||||
# if __has_include(<execution>)
|
||||
# include <algorithm>
|
||||
@ -11,6 +12,7 @@
|
||||
# else
|
||||
# define NO_PARALLEL_SORT
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include "tracy_pdqsort.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user