engine: pass argv0 to crash handler setup, which is required for libbacktrace integration

Fix indentation in crash_posix.c
This commit is contained in:
Alibek Omarov
2025-02-09 15:36:40 +03:00
parent bd3634c815
commit 32aa1f91bf
4 changed files with 13 additions and 13 deletions

View File

@@ -179,10 +179,10 @@ static inline void Platform_Sleep( int msec )
}
#if XASH_WIN32 || XASH_FREEBSD || XASH_NETBSD || XASH_OPENBSD || XASH_ANDROID || XASH_LINUX || XASH_APPLE
void Sys_SetupCrashHandler( void );
void Sys_SetupCrashHandler( const char *argv0 );
void Sys_RestoreCrashHandler( void );
#else
static inline void Sys_SetupCrashHandler( void )
static inline void Sys_SetupCrashHandler( const char *argv0 )
{
}