Fix OpenSSL compilation on Windows

Fixes #4285.
This commit is contained in:
mrezai 2016-04-12 10:28:56 +04:30 committed by Rémi Verschelde
parent 925aa086a2
commit 2cbd850979
1 changed files with 5 additions and 1 deletions

View File

@ -64,8 +64,12 @@
#if !defined(OPENSSL_IMPLEMENTS_strncasecmp) && \
!defined(OPENSSL_SYSNAME_WIN32) && \
!defined(NETWARE_CLIB)
#ifdef _WIN32
#include <string.h>
#else
#include <strings.h>
#endif
#endif
int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n)
{