]> Git repositories of Nishi - tewi.git/commitdiff
trying to add nextstep support
authorNishi <nishi@nishi.boats>
Mon, 14 Oct 2024 18:25:41 +0000 (18:25 +0000)
committerNishi <nishi@nishi.boats>
Mon, 14 Oct 2024 18:25:41 +0000 (18:25 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@342 8739d7e6-ffea-ec47-b151-bdff447c6205

Server/server.c
Server/strptime.c

index cc09023ab49e8635379c382a335864a4d2bc249e..03e90d560a814be24d2610950d4afbce21375ad2 100644 (file)
@@ -607,7 +607,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__) || defined(__USLC__)
+#if defined(__MINGW32__) || defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__USLC__) || defined(__NeXT__)
                                        t = 0;
                                        btm = localtime(&t);
                                        cmtime = mktime(&tm);
index 6be355f3f968ac32541b1efc9c3f4f761466c1be..d2174ef88a7c539d1ad153b26cd0b13127297271 100644 (file)
@@ -435,7 +435,7 @@ recurse:
             continue;
 
 #ifndef TIME_MAX
-#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__NETWARE__)
+#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__NETWARE__) || defined(__NeXT__)
 #define TIME_MAX       INT32_MAX
 #else
 #define TIME_MAX       INT64_MAX