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@chromium.org>2014-08-01 02:23:51 +0400
committerAdam Langley <agl@google.com>2014-08-12 02:10:02 +0400
commitded93581f1674f81faa0dba4b15a842756066ab2 (patch)
tree3ef888c2d7c3fda23863a147ba3552173318e33a /crypto/thread.c
parentd83f38c13a1f943db651cf5e85f9b2f04e80c4a6 (diff)
Windows build fixes.
Windows doesn't have ssize_t, sadly. There's SSIZE_T, but defining an OPENSSL_SSIZE_T seems worse than just using an int. Change-Id: I09bb5aa03f96da78b619e551f92ed52ce24d9f3f Reviewed-on: https://boringssl-review.googlesource.com/1352 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/thread.c')
-rw-r--r--crypto/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/thread.c b/crypto/thread.c
index 1c9926c9..6472cd3f 100644
--- a/crypto/thread.c
+++ b/crypto/thread.c
@@ -163,7 +163,7 @@ void CRYPTO_THREADID_current(CRYPTO_THREADID *id) {
return;
}
-#if defined(OPENSSL_SYS_WIN32)
+#if defined(OPENSSL_WINDOWS)
CRYPTO_THREADID_set_numeric(id, (unsigned long)GetCurrentThreadId());
#else
/* For everything else, default to using the address of 'errno' */