Avoid linking error on WCE700 for _InterlockedExchangeAdd().
authorSoujyu Tanaka <soujyu.tanaka@access-company.com>
Wed, 27 Mar 2019 06:55:32 +0000 (15:55 +0900)
committerMatt Caswell <matt@openssl.org>
Fri, 29 Mar 2019 10:02:05 +0000 (10:02 +0000)
commit1914fddd6cc2086831aae3f0cbff9e4ee46b21fc
treee1d2b71daa6464395c71d82a9cc11f57627be832
parentc7ea47b1f940c90f539c5550e1a89d0d860ddd85
Avoid linking error on WCE700 for _InterlockedExchangeAdd().
This implementation is referenced to https://www.boost.org/doc/libs/1_69_0/boost/detail/interlocked.hpp

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8596)

(cherry picked from commit 88ffc8dea4e313b6acfd3a9ef3868bee96717cf9)
include/internal/refcount.h
include/internal/tsan_assist.h