mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-19 05:45:05 +01:00
build: Fix ::_wsystem
check
See https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/system-wsystem
This commit is contained in:
parent
a09033e22c
commit
b5f6a46503
@ -1261,8 +1261,8 @@ AC_LINK_IFELSE(
|
||||
AC_MSG_CHECKING([for ::_wsystem])
|
||||
AC_LINK_IFELSE(
|
||||
[ AC_LANG_PROGRAM(
|
||||
[[ ]],
|
||||
[[ int nErr = ::_wsystem(""); ]]
|
||||
[[ #include <stdlib.h> ]],
|
||||
[[ int nErr = ::_wsystem(NULL); ]]
|
||||
)],
|
||||
[ AC_MSG_RESULT([yes]); have_any_system=yes],
|
||||
[ AC_MSG_RESULT([no]) ]
|
||||
|
Loading…
Reference in New Issue
Block a user