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-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-11 02:47:52 +03:00
2018-03-11 04:33:22 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 23:44:09 +03:00
2018-03-10 23:17:42 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 23:46:09 +03:00
2018-03-10 21:03:20 +03:00
2018-03-17 21:29:28 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 23:51:38 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2019-07-10 14:44:13 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-11 03:30:54 +03:00
2018-03-11 03:30:54 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-11 00:38:46 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-10 21:03:20 +03:00
2018-03-14 14:06:07 +03:00