diff options
author | Richard Levitte <levitte@openssl.org> | 2017-07-14 06:33:16 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-07-14 12:35:26 +0200 |
commit | 71d57be52e7c4d5389dfe950ad9ee4e54aea5411 (patch) | |
tree | 6f6a6afb48c9f37f9ebfd507533ea206249180a5 /crypto/store | |
parent | Fix style in crypto/store/loader_file.c (diff) | |
download | openssl-71d57be52e7c4d5389dfe950ad9ee4e54aea5411.tar.xz openssl-71d57be52e7c4d5389dfe950ad9ee4e54aea5411.zip |
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)
Diffstat (limited to 'crypto/store')
-rw-r--r-- | crypto/store/loader_file.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 * ------------------ |