aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Brown2014-08-30 15:47:56 -0400
committerKen Brown2014-08-30 15:47:56 -0400
commit9f1b8596007a8f4572dde9c444a0790495c1d486 (patch)
tree93ab03da934dbf125f2b3b3dd5fd443adfc26f83 /src
parent7814e6e7feb1ff9af051e4d8d57e9210f301d4e3 (diff)
downloademacs-9f1b8596007a8f4572dde9c444a0790495c1d486.tar.gz
emacs-9f1b8596007a8f4572dde9c444a0790495c1d486.zip
* src/conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define. (Bug#18366)
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/conf_post.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b3744eb8b6e..b7345b840b8 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12014-08-30 Ken Brown <kbrown@cornell.edu>
2
3 * conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define.
4 (Bug#18366)
5
12014-08-28 Eli Zaretskii <eliz@gnu.org> 62014-08-28 Eli Zaretskii <eliz@gnu.org>
2 7
3 * syntax.c (scan_lists): Don't examine positions before BEGV. 8 * 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, ...);
179#if defined CYGWIN && defined HAVE_NTGUI 179#if defined CYGWIN && defined HAVE_NTGUI
180# define NTGUI_UNICODE /* Cygwin runs only on UNICODE-supporting systems */ 180# define NTGUI_UNICODE /* Cygwin runs only on UNICODE-supporting systems */
181# define _WIN32_WINNT 0x500 /* Win2k */ 181# define _WIN32_WINNT 0x500 /* Win2k */
182/* The following was in /usr/include/string.h prior to Cygwin 1.7.33. */
183#ifndef strnicmp
184#define strnicmp strncasecmp
185#endif
182#endif 186#endif
183 187
184#ifdef emacs /* Don't do this for lib-src. */ 188#ifdef emacs /* Don't do this for lib-src. */