Use our own struct tm

This commit is contained in:
Richard Frith-Macdonald 2021-08-14 12:43:44 +01:00
parent 11c50770d3
commit b71a5bfc40

View file

@ -2927,9 +2927,9 @@ newDetailInZoneForType(GSTimeZone *zone, TypeInfo *type)
static TypeInfo
getTypeInfo(NSTimeInterval since, GSTimeZone *zone)
{
int64_t when = (int64_t)since;
struct tm tm;
TypeInfo type;
int64_t when = (int64_t)since;
gstm tm;
TypeInfo type;
if (localsub(zone->sp, &when, 0, &tm) == NULL)
{