From: Blake Jones Date: Wed, 21 Aug 2013 11:09:54 +0000 (+0200) Subject: timegm: add portable implementation (Solaris support) X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=8c6b2e7e9d30bb3a9ef4fd8632cbf6d8d0673bb7;hp=8c6b2e7e9d30bb3a9ef4fd8632cbf6d8d0673bb7;p=obsolete%2Fnotmuch-old timegm: add portable implementation (Solaris support) 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 ---