diff options
author | David Benjamin <davidben@google.com> | 2016-09-21 00:20:59 +0300 |
---|---|---|
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | 2016-09-21 01:26:27 +0300 |
commit | 1ccfb4e32d9dbc46eb7e0e27608c7f62fc280c3f (patch) | |
tree | c37afdd707a6be265c0484a58eeef40b875601dd /crypto | |
parent | 84759bd4afbfc5b177d0014295dc1bb58ed90fe0 (diff) |
Shush a MinGW warning in crypto/x509.
The MinGW setup on Android already defines this stat macro.
Change-Id: Ia8e89195c06ec01d4b5a2fa7357fb8d2d500aa06
Reviewed-on: https://boringssl-review.googlesource.com/11124
Reviewed-by: Kenny Root <kroot@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/x509/by_dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/by_dir.c b/crypto/x509/by_dir.c index 4445b058..434e5abe 100644 --- a/crypto/x509/by_dir.c +++ b/crypto/x509/by_dir.c @@ -362,7 +362,7 @@ static int get_cert_by_subject(X509_LOOKUP *xl, int type, X509_NAME *name, postfix, k); } #ifndef OPENSSL_NO_POSIX_IO -# ifdef _WIN32 +# if defined(_WIN32) && !defined(stat) # define stat _stat # endif { |