From: Xinchen Hui Date: Mon, 16 Mar 2015 09:10:26 +0000 (+0800) Subject: Let phpdbg refused to be compiled with no CALL zend vm kind X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~655 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50e40334750b6e5bbccc2208ed3b470aac5673f2;p=php Let phpdbg refused to be compiled with no CALL zend vm kind --- diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c index ec6890d8e6..dec11f280b 100644 --- a/sapi/phpdbg/phpdbg_prompt.c +++ b/sapi/phpdbg/phpdbg_prompt.c @@ -42,6 +42,10 @@ #include "phpdbg_wait.h" #include "phpdbg_eol.h" +#if ZEND_VM_KIND != ZEND_VM_KIND_CALL +#error "phpdbg can only be built with CALL zend vm kind" +#endif + ZEND_EXTERN_MODULE_GLOBALS(phpdbg); extern int phpdbg_startup_run;