summaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2014-10-28 21:43:12 -0400
committerJeff Morriss <jeff.morriss.ws@gmail.com>2014-10-30 13:39:44 +0000
commit79c977cf0a61b5f2ad724323c1676ba7e3abb2cc (patch)
tree19a76184ed6357434391cfe5f0617b9f13e77987 /ConfigureChecks.cmake
parentc0a4a91ec20d2a91fe7b1d7ae3476e042ae86ba7 (diff)
downloadwireshark-79c977cf0a61b5f2ad724323c1676ba7e3abb2cc.tar.gz
Remove the optional strncasecmp.{h,c} target (for systems that don't have that API).
strncasecmp() has been prohibited for years (in favor of the g_ascii_ version). Change-Id: I64b7c29099b1c5240757e2026fe3490096a84755 Reviewed-on: https://code.wireshark.org/review/4980 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake11
1 files changed, 0 insertions, 11 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index cfa63150ea..010187237c 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -91,17 +91,6 @@ check_function_exists("mkdtemp" HAVE_MKDTEMP)
check_function_exists("mkstemp" HAVE_MKSTEMP)
check_function_exists("setresgid" HAVE_SETRESGID)
check_function_exists("setresuid" HAVE_SETRESUID)
-
-#
-# Windows doesn't have strncasecmp, but does have stricmp, which has
-# the same signature and behavior. We #define strncasecmp to stricmp
-# on Windows.
-#
-if(WIN32)
- check_function_exists("stricmp" HAVE_STRNCASECMP)
-else()
- check_function_exists("strncasecmp" HAVE_STRNCASECMP)
-endif()
check_function_exists("strptime" HAVE_STRPTIME)
check_function_exists("sysconf" HAVE_SYSCONF)