mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Remove redundant HAVE_LIBREADLINE check (#15623)
The HAVE_LIBREADLINE is at this point only defined by Autotools and this check is for Windows only where only HAVE_LIBEDIT is defined.
This commit is contained in:
parent
7edb9a07d7
commit
e016e3521a
1 changed files with 1 additions and 1 deletions
|
@ -830,7 +830,7 @@ static int do_cli(int argc, char **argv) /* {{{ */
|
|||
goto err;
|
||||
}
|
||||
|
||||
#if defined(PHP_WIN32) && !defined(PHP_CLI_WIN32_NO_CONSOLE) && (defined(HAVE_LIBREADLINE) || defined(HAVE_LIBEDIT)) && !defined(COMPILE_DL_READLINE)
|
||||
#if defined(PHP_WIN32) && !defined(PHP_CLI_WIN32_NO_CONSOLE) && defined(HAVE_LIBEDIT) && !defined(COMPILE_DL_READLINE)
|
||||
if (!interactive) {
|
||||
/* The -a option was not passed. If there is no file, it could
|
||||
still make sense to run interactively. The presence of a file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue