mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
do Sys_Error the same way Con_Printf was done
This commit is contained in:
parent
fc99d7bd4d
commit
ccbae9bd5c
1 changed files with 4 additions and 2 deletions
|
@ -109,8 +109,8 @@ Sys_mkdir (const char *path)
|
|||
Sys_Error ("mkdir %s: %s", path, strerror (errno));
|
||||
}
|
||||
|
||||
void __attribute__ ((weak))
|
||||
Sys_Error (const char *error, ...)
|
||||
void
|
||||
QFutil_Sys_Error (const char *error, ...)
|
||||
{
|
||||
va_list argptr;
|
||||
char string[1024];
|
||||
|
@ -122,6 +122,8 @@ Sys_Error (const char *error, ...)
|
|||
exit (1);
|
||||
}
|
||||
|
||||
void Sys_Error (const char *error, ...) __attribute ((weak, alias ("QFutil_Sys_Error")));
|
||||
|
||||
int
|
||||
Sys_FileTime (const char *path)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue