From: Marcus Boerger Date: Sun, 26 Sep 2004 22:19:57 +0000 (+0000) Subject: - Fix build X-Git-Tag: PRE_NEW_VM_GEN_PATCH~192 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e0ec7c981ec012316c5255df103a09545acd4bec;p=php - Fix build --- diff --git a/Zend/zend.h b/Zend/zend.h index f4b6ae6e94..c848e9395d 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -605,6 +605,7 @@ END_EXTERN_C() #define ZEND_MAX_RESERVED_RESOURCES 4 +#include "zend_variables.h" #endif /* ZEND_H */ diff --git a/Zend/zend_variables.h b/Zend/zend_variables.h index 8cdf76e639..a30ba91fe9 100644 --- a/Zend/zend_variables.h +++ b/Zend/zend_variables.h @@ -40,9 +40,9 @@ ZEND_API int _zval_copy_ctor_func(zval *zvalue ZEND_FILE_LINE_DC); static inline int _zval_copy_ctor(zval *zvalue ZEND_FILE_LINE_DC) { if (zvalue->type <= IS_BOOL) { - return; + return SUCCESS; } - _zval_copy_ctor_func(zvalue ZEND_FILE_LINE_CC); + return _zval_copy_ctor_func(zvalue ZEND_FILE_LINE_CC); }