From: Richard Levitte Date: Fri, 14 Jul 2017 04:33:16 +0000 (+0200) Subject: For Windows, use _stat rather than stat X-Git-Tag: OpenSSL_1_1_1-pre1~1043 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71d57be52e7c4d5389dfe950ad9ee4e54aea5411;p=openssl For Windows, use _stat rather than stat This allows for better flexibility with mixed /M compiler flags Reviewed-by: Andy Polyakov (Merged from https://github.com/openssl/openssl/pull/3930) --- diff --git a/crypto/store/loader_file.c b/crypto/store/loader_file.c index 570f12ba12..06094bf274 100644 --- a/crypto/store/loader_file.c +++ b/crypto/store/loader_file.c @@ -30,6 +30,10 @@ #include "e_os.h" +#ifdef _WIN32 +# define stat _stat +#endif + /*- * Password prompting * ------------------