[CRT] Use alias names for rot functions when compiling with Clang-CL
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 3 Feb 2019 22:36:49 +0000 (23:36 +0100)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Tue, 12 Feb 2019 18:31:33 +0000 (19:31 +0100)
commitdc77e7d37904fc9f3170379481fa2ff185e7d555
treed77fd6fb79b065f02ee96d5b4fce5bc2fb109982
parent0493e8e43229ceb25436d0a97134cc246e6e4851
[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.
sdk/lib/crt/crt.cmake
sdk/lib/crt/stdlib/clang-alias.s [new file with mode: 0644]
sdk/lib/crt/stdlib/rot.c