mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
Fix macOS build (#146)
* Fix macOS build * Fix *BSD build * Add missing *BSD include
This commit is contained in:
+1
-1
@@ -2953,7 +2953,7 @@ extern "C" void qsort_s( void *base, size_t num, size_t width, int (*compare )(v
|
||||
|
||||
void V_qsort_s( void *base, size_t num, size_t width, int ( __cdecl *compare )(void *, const void *, const void *), void * context )
|
||||
{
|
||||
#if defined(OSX) || defined(BSD)
|
||||
#if defined(OSX) || defined(PLATFORM_BSD)
|
||||
// the arguments are swapped 'round on the mac - awesome, huh?
|
||||
return qsort_r( base, num, width, context, compare );
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user