Kaydet (Commit) ee398fa0 authored tarafından Jack Jansen's avatar Jack Jansen

Mac only: two epoch problem workarounds are no longer needed for GUSI

>= 2.0.5. One still is:-(
üst 72b82ba1
......@@ -259,7 +259,7 @@ time_convert(when, function)
{
struct tm *p;
errno = 0;
#if defined(macintosh) && defined(USE_GUSI2)
#if defined(macintosh) && defined(USE_GUSI204)
when = when + GUSI_TO_MSL_EPOCH;
#endif
p = function(&when);
......@@ -474,7 +474,7 @@ time_ctime(self, args)
if (!PyArg_Parse(args, "d", &dt))
return NULL;
tt = (time_t)dt;
#if defined(macintosh) && defined(USE_GUSI2)
#if defined(macintosh) && defined(USE_GUSI204)
tt = tt + GUSI_TO_MSL_EPOCH;
#endif
p = ctime(&tt);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment