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