diff options
author | Adam (ThinLinc team) <146726448+CendioHalim@users.noreply.github.com> | 2024-07-29 13:54:46 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-09-02 10:24:58 +0200 |
commit | c94d13a06965d4a3d9abf15d3cf5dc90c9d7c49c (patch) | |
tree | 4b510de1f2f1c36982520e0a6d18f51fa0029350 | |
parent | s390x: Fix HMAC digest detection (diff) | |
download | openssl-c94d13a06965d4a3d9abf15d3cf5dc90c9d7c49c.tar.xz openssl-c94d13a06965d4a3d9abf15d3cf5dc90c9d7c49c.zip |
Detect MinGW 32 bit for NO_INTERLOCKEDOR64
Builds using 32 bit MinGW will fail, due to the same reasoning described in commit 2d46a44ff24173d2cf5ea2196360cb79470d49c7.
CLA: trivial
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25025)
-rw-r--r-- | crypto/threads_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/threads_win.c b/crypto/threads_win.c index fe57d8671b..ce93317366 100644 --- a/crypto/threads_win.c +++ b/crypto/threads_win.c @@ -23,7 +23,7 @@ * only VC++ 2008 or earlier x86 compilers. */ -#if (defined(_MSC_VER) && defined(_M_IX86) && _MSC_VER <= 1600) +#if ((defined(_MSC_VER) && defined(_M_IX86) && _MSC_VER <= 1600) || (defined(__MINGW32__) && !defined(__MINGW64__))) # define NO_INTERLOCKEDOR64 #endif |