From f9874d49f651177d643cc86f8837db44c4a29558 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Sat, 25 May 2024 08:56:45 +0200 Subject: Remove timegm() compat Now that all uses of gmtime_r() and timegm() have been converted to OPENSSL_gmtime() and OPENSSL_timegm(), this is no longer needed. --- include/compat/time.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'include') diff --git a/include/compat/time.h b/include/compat/time.h index 2748521..a0f6d29 100644 --- a/include/compat/time.h +++ b/include/compat/time.h @@ -24,15 +24,6 @@ #ifndef LIBCRYPTOCOMPAT_TIME_H #define LIBCRYPTOCOMPAT_TIME_H -#ifdef _WIN32 -struct tm *__gmtime_r(const time_t * t, struct tm * tm); -#define gmtime_r(tp, tm) __gmtime_r(tp, tm) -#endif - -#ifndef HAVE_TIMEGM -time_t timegm(struct tm *tm); -#endif - #ifndef CLOCK_MONOTONIC #define CLOCK_MONOTONIC CLOCK_REALTIME #endif -- cgit v1.2.3-55-g6feb