Sync changes from upstream repository

This commit is contained in:
Bozo the Builder
2024-07-17 07:49:12 -07:00
parent 6dce0c19e7
commit 2969536cc1
27 changed files with 235 additions and 56 deletions

View File

@@ -63,7 +63,7 @@ ON_qsort( void *base, size_t nel, size_t width, int (*compar)(void*,const void *
// find pivots, that calculation must be thread safe.
#if defined(ON_COMPILER_MSC)
qsort_s(base,nel,width,compar,context);
#elif defined(ON_RUNTIME_ANDROID) || defined(ON_RUNTIME_LINUX)
#elif defined(ON_RUNTIME_ANDROID) || defined(ON_RUNTIME_LINUX) || defined(ON_RUNTIME_WASM)
ON_hsort(base, nel, width, compar, context);
#elif defined(ON_COMPILER_CLANG)
qsort_r(base,nel,width,context,compar);