From 50e40334750b6e5bbccc2208ed3b470aac5673f2 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Mon, 16 Mar 2015 17:10:26 +0800 Subject: [PATCH] Let phpdbg refused to be compiled with no CALL zend vm kind --- sapi/phpdbg/phpdbg_prompt.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.50.1