mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 04:04:39 +02:00
Force Cygwin to use function tolower() rather than macro version
This commit is contained in:
@@ -217,6 +217,11 @@ enum {
|
|||||||
#define XISALPHA(c) isalpha((c))
|
#define XISALPHA(c) isalpha((c))
|
||||||
#endif
|
#endif
|
||||||
/* needed by CyaSSL_check_domain_name() */
|
/* 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))
|
#define XTOLOWER(c) tolower((c))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user