emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r117467: * src/conf_post.h (strnicmp) [CYGWIN &&


From: Ken Brown
Subject: [Emacs-diffs] emacs-24 r117467: * src/conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define. (Bug#18366)
Date: Sat, 30 Aug 2014 19:48:06 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117467
revision-id: address@hidden
parent: address@hidden
committer: Ken Brown <address@hidden>
branch nick: emacs-24
timestamp: Sat 2014-08-30 15:47:56 -0400
message:
  * src/conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define.  (Bug#18366)
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/conf_post.h                conf_post.h-20120730211826-q0qbxxwh2emw52hd-1
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-08-28 16:26:39 +0000
+++ b/src/ChangeLog     2014-08-30 19:47:56 +0000
@@ -1,3 +1,8 @@
+2014-08-30  Ken Brown  <address@hidden>
+
+       * conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define.
+       (Bug#18366)
+
 2014-08-28  Eli Zaretskii  <address@hidden>
 
        * syntax.c (scan_lists): Don't examine positions before BEGV.

=== modified file 'src/conf_post.h'
--- a/src/conf_post.h   2014-08-25 17:44:27 +0000
+++ b/src/conf_post.h   2014-08-30 19:47:56 +0000
@@ -179,6 +179,10 @@
 #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.  */


reply via email to

[Prev in Thread] Current Thread [Next in Thread]