From d72fd2b3d9a59497db1445d978d793c82be42afb Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Mon, 20 Jan 2025 14:11:43 -0500 Subject: [PATCH] build: remove unused ACCEPT_TYPE_ARG3 --- cmake/Libraries.cmake | 1 - src/lib/config.h.in | 2 -- 2 files changed, 3 deletions(-) diff --git a/cmake/Libraries.cmake b/cmake/Libraries.cmake index e14f1c80f..a4c2e2b0b 100644 --- a/cmake/Libraries.cmake +++ b/cmake/Libraries.cmake @@ -228,7 +228,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(ACCEPT_TYPE_ARG3 socklen_t) set(HAVE_CXX_CASTS 1) set(HAVE_CXX_EXCEPTIONS 1) set(HAVE_CXX_MUTABLE 1) diff --git a/src/lib/config.h.in b/src/lib/config.h.in index 98b035f5c..b7a069d42 100644 --- a/src/lib/config.h.in +++ b/src/lib/config.h.in @@ -16,8 +16,6 @@ */ // clang-format off -/* Define to the base type of arg 3 for `accept`. */ -#cmakedefine ACCEPT_TYPE_ARG3 @ACCEPT_TYPE_ARG3@ /* Define if your compiler has C++ cast support. */ #cmakedefine HAVE_CXX_CASTS @HAVE_CXX_CASTS@