summaryrefslogtreecommitdiff
path: root/config.h.W32.template
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2007-05-09 02:01:53 +0000
committerPaul Smith <psmith@gnu.org>2007-05-09 02:01:53 +0000
commitdc1e1f5e236e519cce00b7da5ef0bebb6d3511b7 (patch)
tree3404b1e3f513b67dd501f252d2aea327c06ca03b /config.h.W32.template
parentba663628dd072ef0e318dabaff9fd52145626da7 (diff)
downloadmake-dc1e1f5e236e519cce00b7da5ef0bebb6d3511b7.tar.gz
Fix Savannah bug #19656: rationalize our use of case-insensitive string
comparison functions to always use POSIX strcasecmp(). For non-POSIX systems that use other functions (strcmpi or stricmp) use a macro to alias strcasecmp to those. If we can't find any of them (VMS, plus whatever UNIX doesn't have them) then define our own version in misc.c.
Diffstat (limited to 'config.h.W32.template')
-rw-r--r--config.h.W32.template6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.W32.template b/config.h.W32.template
index fc7fccc3..27533535 100644
--- a/config.h.W32.template
+++ b/config.h.W32.template
@@ -226,6 +226,12 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
/* Define to 1 if you have the `strcasecmp' function. */
/* #undef HAVE_STRCASECMP */
+/* Define to 1 if you have the `strcmpi' function. */
+#define HAVE_STRCMPI 1
+
+/* Define to 1 if you have the `stricmp' function. */
+/* #undef HAVE_STRICMP */
+
/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1