diff --git a/server/TracySort.hpp b/server/TracySort.hpp index 2a1b54a0..3f47180e 100644 --- a/server/TracySort.hpp +++ b/server/TracySort.hpp @@ -1,15 +1,17 @@ #ifndef __TRACYSORT_HPP__ #define __TRACYSORT_HPP__ -#if !defined __APPLE__ && ( ( defined _MSC_VER && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L ) -# if __has_include() -# include -# include +#ifndef NO_PARALLEL_SORT +# if !defined __APPLE__ && ( ( defined _MSC_VER && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L ) +# if __has_include() +# include +# include +# else +# define NO_PARALLEL_SORT +# endif # else # define NO_PARALLEL_SORT # endif -#else -# define NO_PARALLEL_SORT #endif #include "tracy_pdqsort.h"