Skip to content
Snippets Groups Projects
Commit 650b9504 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

added gmtime_r check

parent 5603134e
No related branches found
No related tags found
No related merge requests found
......@@ -469,6 +469,8 @@ else
dnl is there a localtime_r()
CURL_CHECK_LOCALTIME_R()
AC_CHECK_FUNCS( gmtime_r )
fi
dnl **********************************************************************
......
......@@ -735,7 +735,7 @@ CURLcode Curl_http(struct connectdata *conn)
* equal to UTC (Coordinated Universal Time)." (see page 20 of RFC2616).
*/
#ifdef HAVE_LOCALTIME_R
#ifdef HAVE_GMTIME_R
/* thread-safe version */
/* We assume that the presense of localtime_r() proves the presense
of gmtime_r() which is a bit ugly but might work */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment