mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 03:56:10 +08:00
deadlock: Add Plat_NonFatalErrorFunc
This commit is contained in:
@ -1117,6 +1117,8 @@ PLATFORM_INTERFACE void Plat_ExitProcess( int nCode );
|
||||
|
||||
PLATFORM_INTERFACE bool Plat_ShouldCollectMiniDumpsForFatalErrors();
|
||||
|
||||
PLATFORM_INTERFACE void Plat_NonFatalErrorFunc( const tchar *pMsg, ... ) FMTFUNCTION( 1, 2 );
|
||||
|
||||
#define Plat_FatalError( ... ) do { Log_Error( LOG_GENERAL, ##__VA_ARGS__ ); Plat_ExitProcess( EXIT_FAILURE ); } while( 0 )
|
||||
#define Plat_FatalErrorFunc
|
||||
|
||||
|
Reference in New Issue
Block a user