mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user