Skip to content

Commit

Permalink
build: Fix ::_wsystem check
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Jun 20, 2022
1 parent a09033e commit b5f6a46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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]) ]
Expand Down

0 comments on commit b5f6a46

Please sign in to comment.