From b394f32c01a31f82eb4a1203835c890769c0e9b8 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Mon, 20 Jan 2025 14:15:04 -0500 Subject: [PATCH] build: remove unused CXX_STDLIB define --- cmake/Libraries.cmake | 2 -- src/lib/config.h.in | 6 ------ 2 files changed, 8 deletions(-) diff --git a/cmake/Libraries.cmake b/cmake/Libraries.cmake index 2c2dcea2a..b38367d81 100644 --- a/cmake/Libraries.cmake +++ b/cmake/Libraries.cmake @@ -126,7 +126,6 @@ macro(configure_unix_libs) check_include_files(inttypes.h HAVE_INTTYPES_H) check_include_files(locale.h HAVE_LOCALE_H) check_include_files(memory.h HAVE_MEMORY_H) - check_include_files(stdlib.h HAVE_STDLIB_H) check_include_files(strings.h HAVE_STRINGS_H) check_include_files(string.h HAVE_STRING_H) check_include_files(sys/select.h HAVE_SYS_SELECT_H) @@ -228,7 +227,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_CXX_STDLIB 1) set(HAVE_PTHREAD_SIGNAL 1) set(SELECT_TYPE_ARG1 int) set(SELECT_TYPE_ARG234 " (fd_set *)") diff --git a/src/lib/config.h.in b/src/lib/config.h.in index a802ce5b4..deed5569e 100644 --- a/src/lib/config.h.in +++ b/src/lib/config.h.in @@ -17,9 +17,6 @@ // clang-format off -/* Define if your compiler has standard C++ library support. */ -#cmakedefine HAVE_CXX_STDLIB @HAVE_CXX_STDLIB@ - /* Define if the header file declares function prototypes. */ #cmakedefine HAVE_DPMS_PROTOTYPES @HAVE_DPMS_PROTOTYPES@ @@ -68,9 +65,6 @@ /* Define to 1 if you have the header file. */ #cmakedefine HAVE_STDINT_H @HAVE_STDINT_H@ -/* Define to 1 if you have the header file. */ -#cmakedefine HAVE_STDLIB_H @HAVE_STDLIB_H@ - /* Define to 1 if you have the `strftime` function. */ #cmakedefine HAVE_STRFTIME @HAVE_STRFTIME@