diff options
author | Gerald Combs <gerald@wireshark.org> | 2017-10-25 17:42:15 -0700 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-10-26 07:08:41 +0000 |
commit | bfad9c56f9e65eafba00f97e5e649842782eb2e1 (patch) | |
tree | 7e2596f74d4be0f001afefebbfcf8d6e0c4bfd9a /ConfigureChecks.cmake | |
parent | 859405fd2dd7b76e00d650e1674db2378e05beff (diff) |
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 <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index bdbd6329b5..4630e6ba39 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -51,8 +51,6 @@ check_include_file("sys/types.h" HAVE_SYS_TYPES_H) check_include_file("sys/utsname.h" HAVE_SYS_UTSNAME_H) check_include_file("sys/wait.h" HAVE_SYS_WAIT_H) check_include_file("unistd.h" HAVE_UNISTD_H) -check_include_file("windows.h" HAVE_WINDOWS_H) -check_include_file("winsock2.h" HAVE_WINSOCK2_H) # # On Linux, check for some additional headers, which we need as a |