From bfad9c56f9e65eafba00f97e5e649842782eb2e1 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Wed, 25 Oct 2017 17:42:15 -0700 Subject: CMake: Don't check for windows.h or winsock2.h. If we're building on Windows we're going to have windows.h and winsock2.h. Don't bother checking for them. Change-Id: I0004c44d7364ab3f41682f34b8c84cd8617c9603 Reviewed-on: https://code.wireshark.org/review/24068 Reviewed-by: Gerald Combs Petri-Dish: Gerald Combs Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- cmakeconfig.h.in | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cmakeconfig.h.in') diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index fe5491cc08..994411a6a7 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -363,12 +363,6 @@ /* Define to 1 if you have the header file. */ #cmakedefine HAVE_UNISTD_H 1 -/* Define to 1 if you have the header file. */ -#cmakedefine HAVE_WINDOWS_H 1 - -/* Define to 1 if you have the header file. */ -#cmakedefine HAVE_WINSOCK2_H 1 - /* Name of package */ #cmakedefine PACKAGE -- cgit v1.2.3