misc fixes/tweaks/stuff intended to get the emscripten port working better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4456 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
cf893a1921
commit
3b51dae2c9
21 changed files with 1303 additions and 135 deletions
|
@ -1686,11 +1686,13 @@ void SV_AcceptMessage(int protocol)
|
|||
#include <sys/stat.h>
|
||||
static void SV_CheckRecentCrashes(client_t *tellclient)
|
||||
{
|
||||
#ifndef FTE_TARGET_WEB
|
||||
struct stat sb;
|
||||
if (-1 != stat("crash.log", &sb))
|
||||
{
|
||||
SV_ClientPrintf(tellclient, PRINT_HIGH, "\1WARNING: crash.log exists, dated %s\n", ctime(&sb.st_mtime));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#else
|
||||
static void SV_CheckRecentCrashes(client_t *tellclient)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue