aboutsummaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2018-05-16 10:58:11 -0700
committerGerald Combs <gerald@wireshark.org>2018-05-16 18:41:21 +0000
commit1feea92ef3ddbdf82c5444e18d97d930471f5289 (patch)
tree500341f2d72ac9a294da26734874bd57b7fb98d6 /ConfigureChecks.cmake
parentd0823e39209de5b3c95e300751e74e864370b26d (diff)
CMake: Skip more header checks on Windows.
Prepopulate our header variables at the top of CMakeLists.txt. Add HAVE_STDINT_H and HAVE_STDDEF_H. Change-Id: I78cbe9d6dc3775caad5c565de0100863a9dc8054 Reviewed-on: https://code.wireshark.org/review/27587 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake8
1 files changed, 0 insertions, 8 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 563dc0da02..8fdae65ad8 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -9,14 +9,6 @@
include(CMakePushCheckState)
-if(WIN32)
- # Prepopulate some values. Compilation checks on Windows can be slow.
- set(HAVE_FCNTL_H TRUE)
- set(HAVE_SYS_STAT_H TRUE)
- set(HAVE_FLOORL TRUE)
- set(HAVE_LRINT TRUE)
-endif(WIN32)
-
#check system for includes
include(CheckIncludeFile)
check_include_file("arpa/inet.h" HAVE_ARPA_INET_H)