chore: remove pointless SYS_TIME if defs one is set true and the other never used just include the libs

chore: remove TIME_WITH_SYS_TIME set to 1 and used once as include guard
This commit is contained in:
sithlord48
2025-06-12 20:10:50 -04:00
committed by Nick Bolton
parent 6fbb60a3c2
commit 3eef21c8df
3 changed files with 3 additions and 19 deletions

View File

@ -83,7 +83,6 @@ macro(configure_unix_libs)
include(CheckCSourceCompiles)
check_include_files(sys/socket.h HAVE_SYS_SOCKET_H)
check_include_files(sys/time.h HAVE_SYS_TIME_H)
check_include_files(unistd.h HAVE_UNISTD_H)
check_function_exists(sigwait HAVE_POSIX_SIGWAIT)
@ -155,7 +154,6 @@ macro(configure_unix_libs)
# For config.h, set some static values; it may be a good idea to make these
# values dynamic for non-standard UNIX compilers.
set(HAVE_PTHREAD_SIGNAL 1)
set(TIME_WITH_SYS_TIME 1)
set(HAVE_SOCKLEN_T 1)
# Unix only: For config.h, save the results based on a template (config.h.in).