From 79c977cf0a61b5f2ad724323c1676ba7e3abb2cc Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Tue, 28 Oct 2014 21:43:12 -0400 Subject: 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 Tested-by: Petri Dish Buildbot Reviewed-by: Jeff Morriss --- ConfigureChecks.cmake | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'ConfigureChecks.cmake') 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) -- cgit v1.2.1