com php-src: Let phpdbg refused to be compiled with no CALL zend vm kind: sapi/phpdbg/phpdbg_prompt.c

From: Date: Mon, 16 Mar 2015 09:10:26 +0000
Subject: com php-src: Let phpdbg refused to be compiled with no CALL zend vm kind: sapi/phpdbg/phpdbg_prompt.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85524@lists.php.net to get a copy of this message
Commit: 50e40334750b6e5bbccc2208ed3b470aac5673f2 Author: Xinchen Hui <laruence@php.net> Mon, 16 Mar 2015 17:10:26 +0800 Parents: 8247f49fb253b085102db32e6bac3c2f6d65ad80 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=50e40334750b6e5bbccc2208ed3b470aac5673f2 Log: Let phpdbg refused to be compiled with no CALL zend vm kind Changed paths: M sapi/phpdbg/phpdbg_prompt.c Diff: diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c index ec6890d..dec11f2 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;

« previous php.cvs (#85524) next »