build: Fix ::_wsystem check
See https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/system-wsystem
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -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]) ]
|
||||
|
||||
Reference in new issue
Block a user