Force Cygwin to use function tolower() rather than macro version

This commit is contained in:
John Safranek 2013-12-18 10:58:10 -08:00
parent fe4f10418f
commit 75e6ac534e

View File

@ -217,6 +217,11 @@ enum {
#define XISALPHA(c) isalpha((c))
#endif
/* needed by CyaSSL_check_domain_name() */
#ifdef __CYGWIN__
/* Cygwin uses a macro version of tolower() by default, use the
* function version. */
#undef tolower
#endif
#define XTOLOWER(c) tolower((c))
#endif