MinGW build: Fixed redefine warnings.

This commit is contained in:
Guenter Knauf 2014-11-30 16:03:58 +01:00
parent 12adbc28b8
commit 46f017e751

View File

@ -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 */