diff options
author | Xinchen Hui <laruence@php.net> | 2015-03-16 17:10:26 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2015-03-16 17:10:26 +0800 |
commit | 50e40334750b6e5bbccc2208ed3b470aac5673f2 (patch) | |
tree | f380fd04c0abdbc9b1f806f1fcbc59eea8df9453 /sapi/phpdbg/phpdbg_prompt.c | |
parent | 8247f49fb253b085102db32e6bac3c2f6d65ad80 (diff) | |
download | php-git-50e40334750b6e5bbccc2208ed3b470aac5673f2.tar.gz |
Let phpdbg refused to be compiled with no CALL zend vm kind
Diffstat (limited to 'sapi/phpdbg/phpdbg_prompt.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_prompt.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |