From 84b433853ae89153bc3db27ef70b4d394a24f0dd Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Tue, 25 Mar 2025 21:38:04 -0400 Subject: [PATCH] chore: remove unused define HAVE_GMTTIME_R --- cmake/Libraries.cmake | 1 - src/lib/Config.h.in | 3 --- 2 files changed, 4 deletions(-) diff --git a/cmake/Libraries.cmake b/cmake/Libraries.cmake index 555b7b1cb..ef33538e6 100644 --- a/cmake/Libraries.cmake +++ b/cmake/Libraries.cmake @@ -94,7 +94,6 @@ macro(configure_unix_libs) check_include_files(sys/time.h HAVE_SYS_TIME_H) check_include_files(unistd.h HAVE_UNISTD_H) - check_function_exists(gmtime_r HAVE_GMTIME_R) check_function_exists(nanosleep HAVE_NANOSLEEP) check_function_exists(sigwait HAVE_POSIX_SIGWAIT) check_function_exists(inet_aton HAVE_INET_ATON) diff --git a/src/lib/Config.h.in b/src/lib/Config.h.in index c222072cf..05bef1971 100644 --- a/src/lib/Config.h.in +++ b/src/lib/Config.h.in @@ -10,9 +10,6 @@ /* Define if the header file declares function prototypes. */ #cmakedefine HAVE_DPMS_PROTOTYPES @HAVE_DPMS_PROTOTYPES@ -/* Define to 1 if you have the `gmtime_r` function. */ -#cmakedefine HAVE_GMTIME_R @HAVE_GMTIME_R@ - /* Define if you have the `inet_aton` function. */ #cmakedefine HAVE_INET_ATON @HAVE_INET_ATON@