[openssl/openssl] 2d46a4: VC++ 2008 or earlier x86 compilers do not have an ...

openssl-machine noreply at github.com
Fri Aug 12 09:40:09 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 2d46a44ff24173d2cf5ea2196360cb79470d49c7
      https://github.com/openssl/openssl/commit/2d46a44ff24173d2cf5ea2196360cb79470d49c7
  Author: Daiyuu Nobori <dnobori.gitcommit at coe.ad.jp>
  Date:   2022-08-12 (Fri, 12 Aug 2022)

  Changed paths:
    M crypto/threads_win.c

  Log Message:
  -----------
  VC++ 2008 or earlier x86 compilers do not have an inline implementation of InterlockedOr64 for 32bit and will fail to run on Windows XP 32bit.
See: https://docs.microsoft.com/en-us/cpp/intrinsics/interlockedor-intrinsic-functions#requirements
To work around this problem, we implement a manual locking mechanism for only VC++ 2008 or earlier x86 compilers.

Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18856)




More information about the openssl-commits mailing list