diff options
-rw-r--r-- | Modules/timemodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c index aa0be8015f..984980c123 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -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); |