mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 15:36:42 +00:00
[CRT/INTRIN] Use the gcc intrinsic equivalents when compiling with clang-cl and skip the ones that are already supported/built-in. CORE-11799 (#94)
This commit is contained in:
parent
433d20f16e
commit
dde1b98a78
2 changed files with 63 additions and 9 deletions
|
@ -1012,7 +1012,7 @@ long _InterlockedIncrement(_Interlocked_operand_ long volatile * _Addend);
|
|||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#if defined(__GNUC__) && defined(_WIN32) // We can't use __MINGW32__ here
|
||||
#if (defined(__GNUC__) || defined(__clang__)) && defined(_WIN32) // We can't use __MINGW32__ here
|
||||
# include "mingw32/intrin.h"
|
||||
#elif defined(_MSC_VER)
|
||||
# include "msc/intrin.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue