]> granicus.if.org Git - php/commitdiff
Let phpdbg refused to be compiled with no CALL zend vm kind
authorXinchen Hui <laruence@php.net>
Mon, 16 Mar 2015 09:10:26 +0000 (17:10 +0800)
committerXinchen Hui <laruence@php.net>
Mon, 16 Mar 2015 09:10:26 +0000 (17:10 +0800)
sapi/phpdbg/phpdbg_prompt.c

index ec6890d8e63b42bf3b56da86746941d15510f92a..dec11f280b0024c29f3b84cc6d51f23c4aca64d9 100644 (file)
 #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;