https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6cb3b62b4c5b6f8fd1c28…
commit 6cb3b62b4c5b6f8fd1c28b9f46f30c211c070ec3
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Thu Oct 22 09:18:32 2020 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Thu Oct 22 09:18:32 2020 +0900
[APISETS] Revert 'Try to fix build of both case of MSVC AND CLANG'
---
dll/apisets/CMakeLists.txt | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dll/apisets/CMakeLists.txt b/dll/apisets/CMakeLists.txt
index acd16ab3433..27b82d2a281 100644
--- a/dll/apisets/CMakeLists.txt
+++ b/dll/apisets/CMakeLists.txt
@@ -24,9 +24,7 @@ function (add_apiset apiset_name baseaddress)
add_dependencies(${apiset_name} xdk)
set_module_type(${apiset_name} win32dll ENTRYPOINT 0 UNICODE IMAGEBASE
${baseaddress})
- if(MSVC AND CLANG)
- target_compile_options(${apiset_name} PRIVATE -fno-builtin)
- elseif(NOT MSVC)
+ if(NOT MSVC)
target_compile_options(${apiset_name} PRIVATE -fno-builtin)
else()
target_compile_options(${apiset_name} PRIVATE /wd4026 /wd4273)