From: Nishi Date: Mon, 14 Oct 2024 18:25:41 +0000 (+0000) Subject: trying to add nextstep support X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=ec36d1db66120d019f3db364313b194808cb8136;p=tewi.git trying to add nextstep support git-svn-id: file:///raid/svn-personal/tewi/trunk@342 8739d7e6-ffea-ec47-b151-bdff447c6205 --- diff --git a/Server/server.c b/Server/server.c index cc09023..03e90d5 100644 --- a/Server/server.c +++ b/Server/server.c @@ -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); diff --git a/Server/strptime.c b/Server/strptime.c index 6be355f..d2174ef 100644 --- a/Server/strptime.c +++ b/Server/strptime.c @@ -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