diff --git a/crypto/compat/posix_win.c b/crypto/compat/posix_win.c index b3a4687212..c7cf6af3d8 100644 --- a/crypto/compat/posix_win.c +++ b/crypto/compat/posix_win.c @@ -9,8 +9,8 @@ #define NO_REDEF_POSIX_FUNCTIONS -#include #include +#include #include #include diff --git a/include/compat/pthread.h b/include/compat/pthread.h old mode 100755 new mode 100644 diff --git a/include/compat/stdio.h b/include/compat/stdio.h index 4ddd63aee1..2af8f3eea7 100644 --- a/include/compat/stdio.h +++ b/include/compat/stdio.h @@ -44,7 +44,7 @@ int posix_rename(const char *oldpath, const char *newpath); #define rename(oldpath, newpath) posix_rename(oldpath, newpath) #endif -#ifdef _MSC_VER +#if defined(_MSC_VER) && _MSC_VER < 1900 #define snprintf _snprintf #endif