From: Willem Toorop Date: Mon, 14 Jun 2021 10:00:04 +0000 (+0200) Subject: Cannot make symbol for define with same name X-Git-Tag: 1.8.0-rc.1~25^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58205181743057db86fbb6e8c0cf97e69a4424fd;p=thirdparty%2Fldns.git Cannot make symbol for define with same name --- diff --git a/util.c b/util.c index 11f876d6..807a99e2 100644 --- a/util.c +++ b/util.c @@ -312,6 +312,9 @@ ldns_serial_arithmetics_gmtime_r(int32_t time, time_t now, struct tm *result) #endif } +#ifdef ldns_serial_arithmitics_gmtime_r +#undef ldns_serial_arithmitics_gmtime_r +#endif /* alias function because of previously used wrong spelling */ struct tm * ldns_serial_arithmitics_gmtime_r(int32_t time, time_t now, struct tm *result)