- Fixed build

This commit is contained in:
Felipe Pena 2011-02-19 16:32:00 +00:00
parent 6c734a6b4c
commit b98ceb5e40
2 changed files with 5 additions and 1 deletions

View File

@ -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);

View File

@ -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);