]> git.notmuchmail.org Git - notmuch/commitdiff
timegm: add portable implementation (Solaris support)
authorBlake Jones <blakej@foo.net>
Wed, 21 Aug 2013 11:09:54 +0000 (13:09 +0200)
committerDavid Bremner <bremner@debian.org>
Fri, 23 Aug 2013 15:57:35 +0000 (17:57 +0200)
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>

No differences found