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:
authorBrian Smith <brian@briansmith.org>2015-01-28 10:06:00 +0300
committerAdam Langley <agl@google.com>2015-01-28 23:36:49 +0300
commitdc94b54708177172c8afca5cea406d992f3c7e51 (patch)
treebb075c143f2ebc376de35557d5bf518e863fc6cc /crypto/mem.c
parent33970e6ce0de1a553bd57d5b42527cd95292acae (diff)
Clean up use of Windows Platform SDK headers.
Define WIN32_LEAN_AND_MEAN before including Windows Platform SDK headers to preempt naming conflicts and to make the build faster. Avoid including those headers in BoringSSL headers. Document that Platform SDK 8.1 or later is required on Windows. Change-Id: I907ada21dc722527ea37e839c71c5157455a7003 Reviewed-on: https://boringssl-review.googlesource.com/3100 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/mem.c')
-rw-r--r--crypto/mem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/mem.c b/crypto/mem.c
index 11ef3352..83414117 100644
--- a/crypto/mem.c
+++ b/crypto/mem.c
@@ -65,6 +65,7 @@
#include <string.h>
#if defined(OPENSSL_WINDOWS)
+#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#else
#include <strings.h>