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 <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2019-10-09 13:40:12 -07:00
parent 97cb389a35
commit 926d5504f7
2 changed files with 0 additions and 10 deletions

View File

@ -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)

View File

@ -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