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:
authorAdam Langley <agl@google.com>2015-05-08 04:28:27 +0300
committerAdam Langley <agl@google.com>2015-05-08 21:34:55 +0300
commit65a7e9442c4605b0f1581a3ff3c5afc7a8d13c13 (patch)
tree61e9141e937576f2bfd98bdf91367518b0297751 /crypto/thread_win.c
parent4d2e7ce47bab29c7c872790edd1e262776176678 (diff)
Support Trusty, an embedded platform.
Trusty doesn't have setjmp.h and nor does it have threads. Change-Id: I005f7a009a13e6632513be9fab2bbe62294519a4 Reviewed-on: https://boringssl-review.googlesource.com/4660 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/thread_win.c')
-rw-r--r--crypto/thread_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/thread_win.c b/crypto/thread_win.c
index fc8e50a1..5efd8be3 100644
--- a/crypto/thread_win.c
+++ b/crypto/thread_win.c
@@ -14,7 +14,7 @@
#include "internal.h"
-#if defined(OPENSSL_WINDOWS)
+#if defined(OPENSSL_WINDOWS) && !defined(OPENSSL_NO_THREADS)
#pragma warning(push, 3)
#include <windows.h>
@@ -279,4 +279,4 @@ int CRYPTO_set_thread_local(thread_local_data_t index, void *value,
return 1;
}
-#endif /* OPENSSL_WINDOWS */
+#endif /* OPENSSL_WINDOWS && !OPENSSL_NO_THREADS */