From: Nishi Date: Thu, 10 Oct 2024 02:12:51 +0000 (+0000) Subject: fix compat headers X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=8df0d796e79bfc049ad5d899cbdd775ec958c53c;p=tewi.git fix compat headers git-svn-id: file:///raid/svn-personal/tewi/trunk@304 8739d7e6-ffea-ec47-b151-bdff447c6205 --- diff --git a/Server/server.c b/Server/server.c index c950161..0d7cea4 100644 --- a/Server/server.c +++ b/Server/server.c @@ -568,7 +568,7 @@ int tw_server_pass(void* ptr) { time_t t; struct tm* btm; strptime(req.headers[i + 1], "%a, %d %b %Y %H:%M:%S GMT", &tm); -#if defined(__MINGW32__) || defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) +#if defined(__MINGW32__) || defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__USLC__) t = 0; btm = localtime(&t); cmtime = mktime(&tm);