diff --git a/win32/libssh2_config.h b/win32/libssh2_config.h index 56646da2..3e3caf4a 100644 --- a/win32/libssh2_config.h +++ b/win32/libssh2_config.h @@ -16,7 +16,7 @@ #define HAVE_INTTYPES_H #define HAVE_SYS_TIME_H #define HAVE_GETTIMEOFDAY -#endif +#endif /* __MINGW32__ */ #define HAVE_LIBCRYPT32 #define HAVE_WINSOCK2_H @@ -32,8 +32,10 @@ #define strncasecmp _strnicmp #define strcasecmp _stricmp #else +#ifndef __MINGW32__ #define strncasecmp strnicmp #define strcasecmp stricmp +#endif /* __MINGW32__ */ #endif /* _MSC_VER */ /* Enable newer diffie-hellman-group-exchange-sha1 syntax */