Displaying 1 result from an estimated 1 matches for "gmtime_result".
2012 Oct 03
3
2.4-beta fixes for MinGW
...{
-------------- next part --------------
--- icecast-2.3.99.0/src/fserve.c.orig 2012-10-02 14:52:41 +0400
+++ icecast-2.3.99.0/src/fserve.c 2012-10-02 15:31:11 +0400
@@ -560,6 +560,7 @@
time_t now;
int strflen;
struct tm result;
+ struct tm *gmtime_result;
off_t endpos = rangenumber+new_content_len-1;
char *type;
@@ -567,8 +568,18 @@
endpos = 0;
}
time(&now);
+#if !defined(_WIN32)
+ gmtime_result = gmtime_r(&now, &result)
+#else
+ /* gmtime() on...