diff options
author | Ken Brown <kbrown@cornell.edu> | 2014-08-30 15:47:56 -0400 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2014-08-30 15:47:56 -0400 |
commit | 9f1b8596007a8f4572dde9c444a0790495c1d486 (patch) | |
tree | 93ab03da934dbf125f2b3b3dd5fd443adfc26f83 /src/conf_post.h | |
parent | 7814e6e7feb1ff9af051e4d8d57e9210f301d4e3 (diff) | |
download | emacs-9f1b8596007a8f4572dde9c444a0790495c1d486.tar.gz |
* src/conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define. (Bug#18366)
Diffstat (limited to 'src/conf_post.h')
-rw-r--r-- | src/conf_post.h | 4 |
1 files changed, 4 insertions, 0 deletions
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. */ |