diff --git a/public/tier0/platform.h b/public/tier0/platform.h index 95d73cca..1809714a 100644 --- a/public/tier0/platform.h +++ b/public/tier0/platform.h @@ -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