For Windows, use _stat rather than stat

This allows for better flexibility with mixed /M compiler flags

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3930)
This commit is contained in:
Richard Levitte 2017-07-14 06:33:16 +02:00
parent 479af76798
commit 71d57be52e

View File

@ -30,6 +30,10 @@
#include "e_os.h"
#ifdef _WIN32
# define stat _stat
#endif
/*-
* Password prompting
* ------------------