mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:05:49 +00:00
[CRT] Use alias names for rot functions when compiling with Clang-CL
Clang-CL does not support #pragma function like CL. The alternative to this approach is to disable all intrinsics for this single source file, but that is not trivial to do, as it can only be done by removing a compiler switch, which we have no CMake support for. Therefore this solution is simpler and as good.
This commit is contained in:
parent
0493e8e432
commit
dc77e7d379
3 changed files with 34 additions and 2 deletions
|
@ -441,6 +441,10 @@ if(ARCH STREQUAL "i386")
|
|||
list(APPEND CRT_ASM_SOURCE
|
||||
except/i386/cpp.s)
|
||||
endif()
|
||||
if(USE_CLANG_CL)
|
||||
list(APPEND CRT_ASM_SOURCE
|
||||
stdlib/clang-alias.s)
|
||||
endif()
|
||||
elseif(ARCH STREQUAL "amd64")
|
||||
list(APPEND CRT_ASM_SOURCE
|
||||
except/amd64/seh.s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue