]> Git repositories of Nishi - tewi.git/commitdiff
fix compat headers
authorNishi <nishi@nishi.boats>
Thu, 10 Oct 2024 02:12:51 +0000 (02:12 +0000)
committerNishi <nishi@nishi.boats>
Thu, 10 Oct 2024 02:12:51 +0000 (02:12 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@304 8739d7e6-ffea-ec47-b151-bdff447c6205

Server/server.c

index c95016124e77eec2511e0e98426155f895a9759f..0d7cea48c5ff67fdacf637ceecb884250b05c005 100644 (file)
@@ -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);