aboutsummaryrefslogtreecommitdiffhomepage
path: root/compat/have_timegm.c
Commit message (Collapse)AuthorAge
* timegm: add portable implementation (Solaris support)Gravatar Blake Jones2013-08-23
The timegm(3) function is a non-standard extension to libc which is available in GNU libc and on some BSDs. Although SunOS had this function in its libc, Solaris (unfortunately) removed it. This patch implements a very simple version of timegm() which is good enough for parse-time-string.c. Signed-off-by: Vladimir Marek <vlmarek@volny.cz>