From 926d5504f775b75168d1e49a154b8daea12fdc1d Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Wed, 9 Oct 2019 13:40:12 -0700 Subject: [PATCH] CMake: Remove some header defines. It looks like HAVE_SYS_TYPES_H, HAVE_STDINT_H, and HAVE_STDDEF_H were required for check_type_size via test_big_endian, but we don't use that any more. HAVE_LRINT was used by the GTK+ UI. Change-Id: I6474c118bac4413791b3613d34d263e38107600a Reviewed-on: https://code.wireshark.org/review/34754 Petri-Dish: Gerald Combs Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs --- CMakeLists.txt | 7 ------- cmakeconfig.h.in | 3 --- 2 files changed, 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f9ae5d57ca..88a9884af3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -128,13 +128,6 @@ if(WIN32) # on Windows can be slow. set(HAVE_FCNTL_H TRUE) set(HAVE_FLOORL TRUE) - set(HAVE_LRINT TRUE) - - # It looks like we call check_type_size somewhere, which checks - # for these. - set(HAVE_SYS_TYPES_H TRUE) - set(HAVE_STDINT_H TRUE) - set(HAVE_STDDEF_H TRUE) endif(WIN32) include(UseCustomIncludes) diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index bf1130b617..f6a3b15cea 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -79,9 +79,6 @@ /* Define if you have the 'floorl' function. */ #cmakedefine HAVE_FLOORL 1 -/* Define if you have the 'lrint' function. */ -#cmakedefine HAVE_LRINT 1 - /* Define to 1 if you have the getopt_long function. */ #cmakedefine HAVE_GETOPT_LONG 1