Skip to content

Commit

Permalink
添加 WIN32 宏定义
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack253-png committed Jan 12, 2025
1 parent 54af429 commit ae3faa1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion extlibs/shaderc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ add_includedirs("shaderc/libshaderc/include")
add_includedirs("shaderc/libshaderc/src")
add_files("shaderc/libshaderc_util/src/*.cc")
add_includedirs("shaderc/libshaderc_util/include")
add_defines("ENABLE_HLSL=1")
add_defines("ENABLE_HLSL=1")
if is_plat("windows") then
add_defines("WIN32")
end

0 comments on commit ae3faa1

Please sign in to comment.