2
0
mirror of https://github.com/boostorg/winapi.git synced 2026-01-19 17:02:09 +00:00
Andrey Semashev 65b9c99a67 Add explicit type casts for arguments of Interlocked* intrinsics.
This allows to use any compatible types with INTERLOCKED_* macros, not just
the ones strictly matching the particular implementation of the intrinsics.

In particular, this fixes compilation for Cygwin64, which is an LP64 target,
meaning that long is 64-bit and _Interlocked* intrinsics use a different
integer type for its 32-bit integer arguments.

Additionally, enable use of intrin.h on Cygwin (32-bit).

The test has been updated to explicitly use 32-bit integer arguments.
2019-07-10 14:44:13 +03:00
2018-03-18 01:42:55 +03:00
2016-07-04 23:24:26 +01:00
2016-06-19 19:53:04 +03:00

WinAPI

Windows API declarations without <windows.h>, for internal Boost use.

Build Status

Master: AppVeyor Travis CI Develop: AppVeyor Travis CI

License

Distributed under the Boost Software License, Version 1.0.

Description
Mirrored via gitea-mirror
Readme 872 KiB
Languages
C++ 99.6%
Perl 0.3%