]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define. (Bug#18366)
authorKen Brown <kbrown@cornell.edu>
Sat, 30 Aug 2014 19:47:56 +0000 (15:47 -0400)
committerKen Brown <kbrown@cornell.edu>
Sat, 30 Aug 2014 19:47:56 +0000 (15:47 -0400)
src/ChangeLog
src/conf_post.h

index b3744eb8b6eb5cac5beb48159f8c10beb843ca4d..b7345b840b884d24a5681ddb082ff2bd95dc9041 100644 (file)
@@ -1,3 +1,8 @@
+2014-08-30  Ken Brown  <kbrown@cornell.edu>
+
+       * conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define.
+       (Bug#18366)
+
 2014-08-28  Eli Zaretskii  <eliz@gnu.org>
 
        * syntax.c (scan_lists): Don't examine positions before BEGV.
index 386d83f4b1f80286fbecc18f614695c2d54e1ec9..254e004d655c4567e531f069e5f314c6af03f62f 100644 (file)
@@ -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.  */