We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eb00aa commit ff2b44fCopy full SHA for ff2b44f
ext/readline/readline.c
@@ -186,7 +186,7 @@ PHP_FUNCTION(readline_info)
186
if (!try_convert_to_string(value)) {
187
RETURN_THROWS();
188
}
189
-#ifndef PHP_WIN32
+#if !defined(PHP_WIN32) && !HAVE_LIBEDIT
190
if (!rl_line_buffer) {
191
rl_line_buffer = malloc(Z_STRLEN_P(value) + 1);
192
} else if (strlen(oldstr) < Z_STRLEN_P(value)) {
0 commit comments