From: Michael Wallner Date: Mon, 8 Aug 2005 07:23:27 +0000 (+0000) Subject: - fix php4 build X-Git-Tag: RELEASE_0_12_0~44 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=a8230e38566547ed14c101bbf026904acdf0d458;p=m6w6%2Fext-http - fix php4 build --- diff --git a/missing.c b/missing.c index aefbdb9..d60d55d 100644 --- a/missing.c +++ b/missing.c @@ -71,6 +71,8 @@ void zend_update_property_bool(zend_class_entry *scope, zval *object, char *name #endif +#if (PHP_MAJOR_VERSION >= 5) + static inline zval *new_class_constant_zval(zend_class_entry *ce) { zval *z; @@ -124,7 +126,7 @@ int zend_declare_class_constant_stringl(zend_class_entry *ce, char *name, size_t Z_STRVAL_P(constant)[value_length] = '\0'; return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); } - +#endif /* * Local variables: