提交 b4675d0f 编写于 作者: R Ronald S. Bultje 提交者: Martin Storsjö

configure: Check for CommandLineToArgvW

The actual result of the check isn't used anywhere (since we
use this function unconditionally within #ifdef _WIN32), but it
makes sure we explicitly link to shell32 (which is linked in
implictly on mingw).
Signed-off-by: NMartin Storsjö <martin@martin.st>
上级 08282952
......@@ -1063,6 +1063,7 @@ HAVE_LIST="
cbrtf
closesocket
cmov
CommandLineToArgvW
cpuid
dcbzl
dev_bktr_ioctl_bt848_h
......@@ -2887,6 +2888,7 @@ check_func sysconf
check_func sysctl
check_func usleep
check_func_headers io.h setmode
check_lib2 "windows.h shellapi.h" CommandLineToArgvW -lshell32
check_lib2 "windows.h psapi.h" GetProcessMemoryInfo -lpsapi
check_func_headers windows.h GetProcessAffinityMask
check_func_headers windows.h GetProcessTimes
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册