Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2016-09-21 00:20:59 +0300
committerCQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>2016-09-21 01:26:27 +0300
commit1ccfb4e32d9dbc46eb7e0e27608c7f62fc280c3f (patch)
treec37afdd707a6be265c0484a58eeef40b875601dd
parent84759bd4afbfc5b177d0014295dc1bb58ed90fe0 (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>
-rw-r--r--crypto/x509/by_dir.c2
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
{