From cc6bfcc1c27a897732b95f6af76752b74221a2f4 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Mon, 20 Jan 2025 13:12:30 -0500 Subject: [PATCH] build: remove unused SIZE defines --- cmake/Libraries.cmake | 5 ----- src/lib/config.h.in | 12 ------------ 2 files changed, 17 deletions(-) diff --git a/cmake/Libraries.cmake b/cmake/Libraries.cmake index c87c8906d..1cf897396 100644 --- a/cmake/Libraries.cmake +++ b/cmake/Libraries.cmake @@ -169,11 +169,6 @@ macro(configure_unix_libs) endif() - check_type_size(char SIZEOF_CHAR) - check_type_size(int SIZEOF_INT) - check_type_size(long SIZEOF_LONG) - check_type_size(short SIZEOF_SHORT) - # pthread is used on both Linux and Mac check_library_exists("pthread" pthread_create "" HAVE_PTHREAD) if(HAVE_PTHREAD) diff --git a/src/lib/config.h.in b/src/lib/config.h.in index d4abb36bc..ff48d5281 100644 --- a/src/lib/config.h.in +++ b/src/lib/config.h.in @@ -157,18 +157,6 @@ /* Define to the type of arg 5 for `select`. */ #cmakedefine SELECT_TYPE_ARG5 @SELECT_TYPE_ARG5@ -/* The size of `char`, as computed by sizeof. */ -#cmakedefine SIZEOF_CHAR @SIZEOF_CHAR@ - -/* The size of `int`, as computed by sizeof. */ -#cmakedefine SIZEOF_INT @SIZEOF_INT@ - -/* The size of `long`, as computed by sizeof. */ -#cmakedefine SIZEOF_LONG @SIZEOF_LONG@ - -/* The size of `short`, as computed by sizeof. */ -#cmakedefine SIZEOF_SHORT @SIZEOF_SHORT@ - /* Define to 1 if you have the ANSI C header files. */ #cmakedefine STDC_HEADERS @STDC_HEADERS@