From 842de91168f86858415069192782212526cc9ebe Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 15 Sep 2008 14:57:56 +0000 Subject: [PATCH] HAVE_STRNCASECMP and HAVE_STRNICMP definitions for WIN32 --- lib/config-win32.h | 12 +++++++++--- lib/config-win32ce.h | 12 +++++++++--- src/config-win32.h | 9 +++++++++ 3 files changed, 27 insertions(+), 6 deletions(-) diff --git a/lib/config-win32.h b/lib/config-win32.h index e43c88e34..c987f41ca 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -188,15 +188,21 @@ /* Define if you have the strcasecmp function. */ /* #define HAVE_STRCASECMP 1 */ -/* Define if you have the stricmp function. */ -#define HAVE_STRICMP 1 - /* Define if you have the strdup function. */ #define HAVE_STRDUP 1 /* Define if you have the strftime function. */ #define HAVE_STRFTIME 1 +/* Define if you have the stricmp function. */ +#define HAVE_STRICMP 1 + +/* Define if you have the strncasecmp function. */ +/* #define HAVE_STRNCASECMP 1 */ + +/* Define if you have the strnicmp function. */ +#define HAVE_STRNICMP 1 + /* Define if you have the strstr function. */ #define HAVE_STRSTR 1 diff --git a/lib/config-win32ce.h b/lib/config-win32ce.h index 50ddd18b8..84a567883 100644 --- a/lib/config-win32ce.h +++ b/lib/config-win32ce.h @@ -172,15 +172,21 @@ /* Define if you have the strcasecmp function. */ /* #define HAVE_STRCASECMP 1 */ -/* Define if you have the stricmp function. */ -/* #define HAVE_STRICMP 1 */ - /* Define if you have the strdup function. */ /* #define HAVE_STRDUP 1 */ /* Define if you have the strftime function. */ /* #define HAVE_STRFTIME 1 */ +/* Define if you have the stricmp function. */ +/* #define HAVE_STRICMP 1 */ + +/* Define if you have the strncasecmp function. */ +/* #define HAVE_STRNCASECMP 1 */ + +/* Define if you have the strnicmp function. */ +/* #define HAVE_STRNICMP 1 */ + /* Define if you have the strstr function. */ #define HAVE_STRSTR 1 diff --git a/src/config-win32.h b/src/config-win32.h index cafc14576..c32ab1717 100644 --- a/src/config-win32.h +++ b/src/config-win32.h @@ -81,12 +81,21 @@ /* Define if you have the setlocale function. */ #define HAVE_SETLOCALE 1 +/* Define if you have the strcasecmp function. */ +/* #define HAVE_STRCASECMP 1 */ + /* Define if you have the strdup function. */ #define HAVE_STRDUP 1 /* Define if you have the stricmp function. */ #define HAVE_STRICMP 1 +/* Define if you have the strncasecmp function. */ +/* #define HAVE_STRNCASECMP 1 */ + +/* Define if you have the strnicmp function. */ +#define HAVE_STRNICMP 1 + /* Define if you have the utime function */ #ifndef __BORLANDC__ #define HAVE_UTIME 1