107 |
#endif |
#endif |
108 |
#endif |
#endif |
109 |
|
|
110 |
#if defined(_PSP) || defined(__ps2sdk__) |
#if defined(_PSP) || defined(__ps2sdk__) || defined(__bsdi__) |
111 |
#include "strptime.h" |
#include "strptime.h" |
112 |
#endif |
#endif |
113 |
|
|
620 |
time_t t; |
time_t t; |
621 |
struct tm* btm; |
struct tm* btm; |
622 |
strptime(req.headers[i + 1], "%a, %d %b %Y %H:%M:%S GMT", &tm); |
strptime(req.headers[i + 1], "%a, %d %b %Y %H:%M:%S GMT", &tm); |
623 |
#if defined(__MINGW32__) || defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__USLC__) || defined(__NeXT__) |
#if defined(__MINGW32__) || defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__USLC__) || defined(__NeXT__) || defined(__bsdi__) |
624 |
t = 0; |
t = 0; |
625 |
btm = localtime(&t); |
btm = localtime(&t); |
626 |
cmtime = mktime(&tm); |
cmtime = mktime(&tm); |
1013 |
fd_set fdset; |
fd_set fdset; |
1014 |
struct timeval tv; |
struct timeval tv; |
1015 |
#endif |
#endif |
1016 |
#if defined(__MINGW32__) || defined(__HAIKU__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__NETWARE__)) |
#if defined(__MINGW32__) || defined(__HAIKU__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__NETWARE__) && !defined(__DOS__)) |
1017 |
struct thread_entry threads[2048]; |
struct thread_entry threads[2048]; |
1018 |
for(i = 0; i < sizeof(threads) / sizeof(threads[0]); i++) { |
for(i = 0; i < sizeof(threads) / sizeof(threads[0]); i++) { |
1019 |
threads[i].used = false; |
threads[i].used = false; |