cvs: pear /PECL/apd php_apd.c
| From: | George Schlossnagle | Date: | Wed, 30 Oct 2002 15:27:59 +0000 |
| Subject: | cvs: pear /PECL/apd php_apd.c | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7241@lists.php.net to get a copy of this message | ||
gschlossnagle Wed Oct 30 10:27:59 2002 EDT
Modified files:
/pear/PECL/apd php_apd.c
Log:
ifdef'd zend_execute_internal out on and before v4.2.3
Index: pear/PECL/apd/php_apd.c
diff -u pear/PECL/apd/php_apd.c:1.41 pear/PECL/apd/php_apd.c:1.42
--- pear/PECL/apd/php_apd.c:1.41 Thu Oct 17 01:24:32 2002
+++ pear/PECL/apd/php_apd.c Wed Oct 30 10:27:59 2002
@@ -55,7 +55,9 @@
ZEND_DLEXPORT zend_op_array* apd_compile_file(zend_file_handle* TSRMLS_DC);
ZEND_DLEXPORT zend_op_array* (*old_compile_file)(zend_file_handle* TSRMLS_DC);
ZEND_DLEXPORT void apd_execute(zend_op_array *op_array TSRMLS_DC);
+#if ZEND_EXTENSION_API_NO > 20020731
ZEND_DLEXPORT void apd_execute_internal(zend_execute_data *execute_data_ptr, int return_value_used
TSRMLS_DC);
+#endif
ZEND_DLEXPORT void (*old_execute)(zend_op_array *op_array TSRMLS_DC);
/* This comes from php install tree. */
@@ -662,6 +664,7 @@
apd_interactive();
}
+#if ZEND_EXTENSION_API_NO > 20020429
ZEND_API void apd_execute_internal(zend_execute_data *execute_data_ptr, int return_value_used
TSRMLS_DC)
{
char *fname = NULL;
@@ -709,6 +712,7 @@
apd_efree(fname);
apd_interactive();
}
+#endif