Skip to content

Commit 3eb3ed9

Browse files
committed
Fix compilation with visual studio using clang
1 parent 6aa2d35 commit 3eb3ed9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contrib/curl/premake5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ project "curl-lib"
1818
filter { "options:zlib-src=contrib" }
1919
includedirs { '../zlib' }
2020

21-
filter { "system:windows" }
21+
filter { "system:windows", "toolset:not clang" }
2222
defines { "USE_SCHANNEL", "USE_WINDOWS_SSPI" }
2323
links { "crypt32", "bcrypt" }
2424

contrib/libzip/premake5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ project "zip-lib"
1111
"**.c"
1212
}
1313

14-
filter "toolset:gcc or clang or cosmocc"
14+
filter {"action:not vs*", "toolset:gcc or clang or cosmocc"}
1515
defines { "HAVE_SSIZE_T_LIBZIP", "HAVE_CONFIG_H" }
1616
forceincludes { "unistd.h" }
1717

0 commit comments

Comments
 (0)