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 0febafc commit 0da5d94Copy full SHA for 0da5d94
sapi/phpdbg/phpdbg.h
@@ -64,10 +64,13 @@
64
# include "TSRM.h"
65
#endif
66
67
-#if defined(HAVE_LIBREADLINE) || defined(HAVE_LIBEDIT)
+#ifdef LIBREADLINE
68
# include <readline/readline.h>
69
# include <readline/history.h>
70
71
+#ifdef HAVE_LIBEDIT
72
+# include <editline/readline.h>
73
+#endif
74
75
#include "phpdbg_lexer.h"
76
#include "phpdbg_cmd.h"
sapi/phpdbg/phpdbg_utils.c
@@ -400,7 +400,7 @@ PHPDBG_API const char *phpdbg_get_prompt(TSRMLS_D) /* {{{ */
400
}
401
402
/* create cached prompt */
403
-#ifdef HAVE_LIBREADLINE
+#ifndef HAVE_LIBEDIT
404
/* TODO: libedit doesn't seems to support coloured prompt */
405
if ((PHPDBG_G(flags) & PHPDBG_IS_COLOURED)) {
406
asprintf(
0 commit comments