AR = ar
CFLAGS = -g -DPREFIX=\"$(PREFIX)\" -I $(PWD)/Common -fPIC -I ../VC6Compat
LDFLAGS =
-LIBS = -lsocket
+LIBS = -lsocket -ldl
EXEC =
LIBSUF = .so
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__) || defined(__NeXT__) || defined(__bsdi__) || defined(__amiga__)
+#if defined(__MINGW32__) || defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__USLC__) || defined(__NeXT__) || defined(__bsdi__) || defined(__amiga__) || defined(__sun__)
t = 0;
btm = localtime(&t);
cmtime = mktime(&tm);
"Haiku"
#elif defined(__APPLE__)
"Darwin"
+#elif defined(__sun__)
+ "Solaris"
#elif defined(__CYGWIN__)
"Cygwin"
#elif defined(_PSP)