summaryrefslogtreecommitdiffstats
path: root/crypto/threads_win.c
diff options
context:
space:
mode:
authorGeorgi Valkov <gvalkov@gmail.com>2023-03-21 11:49:23 +0100
committerTomas Mraz <tomas@openssl.org>2023-03-22 14:45:29 +0100
commit8bdc3708964814ea0b7002df020fbd459e3a813f (patch)
tree596c99abf4c506f3e59ccebf118c5e5cc543123c /crypto/threads_win.c
parentDo not build P10-specific AES-GCM assembler on macOS (diff)
downloadopenssl-8bdc3708964814ea0b7002df020fbd459e3a813f.tar.xz
openssl-8bdc3708964814ea0b7002df020fbd459e3a813f.zip
VC++ 2010 x86 compilers do not have InterlockedOr64
The changes from the following commit should also apply to Visual Studio 2010 https://github.com/openssl/openssl/commit/2d46a44ff24173d2cf5ea2196360cb79470d49c7#r104867505 Fixes build errors: undefined symbol InterlockedOr64 on Windows 2003, Visual Studio 2010 for x86 target. CLA: trivial Signed-off-by: Georgi Valkov <gvalkov@gmail.com> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20557)
Diffstat (limited to 'crypto/threads_win.c')
-rw-r--r--crypto/threads_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/threads_win.c b/crypto/threads_win.c
index 3992ba4440..7b2e876540 100644
--- a/crypto/threads_win.c
+++ b/crypto/threads_win.c
@@ -22,7 +22,7 @@
* only VC++ 2008 or earlier x86 compilers.
*/
-#if (defined(_MSC_VER) && defined(_M_IX86) && _MSC_VER <= 1500)
+#if (defined(_MSC_VER) && defined(_M_IX86) && _MSC_VER <= 1600)
# define NO_INTERLOCKEDOR64
#endif