mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 23:09:44 -04: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
1 changed files with 2 additions and 2 deletions
|
@ -1261,8 +1261,8 @@ AC_LINK_IFELSE(
|
||||||
AC_MSG_CHECKING([for ::_wsystem])
|
AC_MSG_CHECKING([for ::_wsystem])
|
||||||
AC_LINK_IFELSE(
|
AC_LINK_IFELSE(
|
||||||
[ AC_LANG_PROGRAM(
|
[ AC_LANG_PROGRAM(
|
||||||
[[ ]],
|
[[ #include <stdlib.h> ]],
|
||||||
[[ int nErr = ::_wsystem(""); ]]
|
[[ int nErr = ::_wsystem(NULL); ]]
|
||||||
)],
|
)],
|
||||||
[ AC_MSG_RESULT([yes]); have_any_system=yes],
|
[ AC_MSG_RESULT([yes]); have_any_system=yes],
|
||||||
[ AC_MSG_RESULT([no]) ]
|
[ AC_MSG_RESULT([no]) ]
|
||||||
|
|
Loading…
Add table
Reference in a new issue