From: Ken Brown Date: Sat, 30 Aug 2014 19:47:56 +0000 (-0400) Subject: * src/conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define. (Bug#18366) X-Git-Tag: emacs-24.3.94~68 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9f1b8596007a8f4572dde9c444a0790495c1d486;p=emacs.git * src/conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define. (Bug#18366) --- diff --git a/src/ChangeLog b/src/ChangeLog index b3744eb8b6e..b7345b840b8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2014-08-30 Ken Brown + + * conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define. + (Bug#18366) + 2014-08-28 Eli Zaretskii * syntax.c (scan_lists): Don't examine positions before BEGV. diff --git a/src/conf_post.h b/src/conf_post.h index 386d83f4b1f..254e004d655 100644 --- a/src/conf_post.h +++ b/src/conf_post.h @@ -179,6 +179,10 @@ extern void _DebPrint (const char *fmt, ...); #if defined CYGWIN && defined HAVE_NTGUI # define NTGUI_UNICODE /* Cygwin runs only on UNICODE-supporting systems */ # define _WIN32_WINNT 0x500 /* Win2k */ +/* The following was in /usr/include/string.h prior to Cygwin 1.7.33. */ +#ifndef strnicmp +#define strnicmp strncasecmp +#endif #endif #ifdef emacs /* Don't do this for lib-src. */