mirror of
https://github.com/openssl/openssl.git
synced 2024-12-14 20:43:46 +08:00
Add note about Windows LONG
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20856)
This commit is contained in:
parent
2fa9044298
commit
a2c61e4143
@ -262,6 +262,7 @@ int CRYPTO_atomic_load_int(int *val, int *ret, CRYPTO_RWLOCK *lock)
|
||||
|
||||
return 1;
|
||||
#else
|
||||
/* On Windows, LONG is always the same size as int. */
|
||||
*ret = (int)InterlockedOr((LONG volatile *)val, 0);
|
||||
return 1;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user