mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
- Fixed build
This commit is contained in:
parent
6c734a6b4c
commit
b98ceb5e40
@ -68,6 +68,10 @@
|
||||
#include <dlfcn.h>
|
||||
#endif
|
||||
|
||||
#ifndef RTLD_DEFAULT
|
||||
#define RTLD_DEFAULT NULL
|
||||
#endif
|
||||
|
||||
#define DEFAULT_PROMPT "\\b \\> "
|
||||
|
||||
ZEND_DECLARE_MODULE_GLOBALS(cli_readline);
|
||||
|
@ -1131,7 +1131,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
if (interactive && cli_shell_callbacks.cli_shell_run) {
|
||||
exit_status = cli_shell_callbacks.cli_shell_run();
|
||||
exit_status = cli_shell_callbacks.cli_shell_run(TSRMLS_C);
|
||||
} else {
|
||||
php_execute_script(&file_handle TSRMLS_CC);
|
||||
exit_status = EG(exit_status);
|
||||
|
Loading…
Reference in New Issue
Block a user