Consistently check for _stricmp
Remove checks for obsolete (since VC 2005) _strcmpi.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 68cc5e1..feb169d 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,7 +29,7 @@
 
 CHECK_FUNCTION_EXISTS(_open HAVE__OPEN)
 CHECK_FUNCTION_EXISTS(_snprintf HAVE__SNPRINTF)
-CHECK_FUNCTION_EXISTS(_strcmpi HAVE__STRCMPI)
+CHECK_FUNCTION_EXISTS(_stricmp HAVE__STRICMP)
 CHECK_FUNCTION_EXISTS(_strdup HAVE__STRDUP)
 CHECK_FUNCTION_EXISTS(_stricmp HAVE__STRICMP)
 CHECK_FUNCTION_EXISTS(fseeko HAVE_FSEEKO)
diff --git a/configure.ac b/configure.ac
index ddfbb48..a47c364 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,7 +42,7 @@
 
 AM_PROG_LIBTOOL
 
-AC_CHECK_FUNCS([_open _snprintf _strcmpi _strdup _stricmp fseeko ftello getopt open snprintf strcasecmp strdup])
+AC_CHECK_FUNCS([_open _snprintf _strdup _stricmp fseeko ftello getopt open snprintf strcasecmp strdup])
 AC_CHECK_FUNCS([mkstemp], [], [AC_LIBOBJ(mkstemp)])
 
 AC_MSG_CHECKING([MoveFileExA])
diff --git a/lib/zipint.h b/lib/zipint.h
index 8f03be0..c7f6de8 100644
--- a/lib/zipint.h
+++ b/lib/zipint.h
@@ -3,7 +3,7 @@
 
 /*
   zipint.h -- internal declarations.
-  Copyright (C) 1999-2012 Dieter Baron and Thomas Klausner
+  Copyright (C) 1999-2013 Dieter Baron and Thomas Klausner
 
   This file is part of libzip, a library to manipulate ZIP archives.
   The authors can be contacted at <libzip@nih.at>
@@ -85,9 +85,7 @@
 #endif
 
 #if !defined(HAVE_STRCASECMP)
-#if defined(HAVE__STRCMPI)
-#define strcasecmp	_strcmpi
-#elif defined(HAVE__STRICMP)
+#if defined(HAVE__STRICMP)
 #define strcasecmp	_stricmp
 #endif
 #endif