Skip to content

Commit

Permalink
improve check
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Dec 5, 2023
1 parent 4e5d720 commit 1ec4e92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xmake/check_interfaces.lua
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ function _check_interfaces(target)
_check_module_cfuncs(target, "posix", "sys/stat.h", "mkfifo")
_check_module_cfuncs(target, "posix", "sys/mman.h", "mmap")
_check_module_cfuncs(target, "posix", "sys/stat.h", "futimens", "utimensat")
elseif not target:is_plat("windows", "wasm") then
end
if not target:is_plat("windows", "wasm") then
_check_module_cfuncs(target, "posix", "spawn.h", "posix_spawnp", "posix_spawn_file_actions_addchdir_np")
_check_module_cfuncs(target, "posix", "semaphore.h", "sem_init")
end
Expand Down

0 comments on commit 1ec4e92

Please sign in to comment.