mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-05 22:09:59 +03:00
Fix macOS build (#146)
* Fix macOS build * Fix *BSD build * Add missing *BSD include
This commit is contained in:
@@ -1527,7 +1527,7 @@ void CBaseFileSystem::DoAsyncCallback( const FileAsyncRequest_t &request, void *
|
||||
if ( pDataToFree )
|
||||
{
|
||||
Assert( !request.pfnAlloc );
|
||||
#if defined( OSX ) || defined( LINUX ) || defined(BSD)
|
||||
#if defined( OSX ) || defined( LINUX ) || defined(PLATFORM_BSD)
|
||||
// The ugly delete[] (void*) method generates a compile warning on osx, as it should.
|
||||
free( pDataToFree );
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user