patch our local xmlrpc lib (for supporting allow_none=True) with php5.4
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 30 Jan 2013 15:32:30 +0000 (16:32 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 30 Jan 2013 15:32:30 +0000 (16:32 +0100)
php/xmlrpc/xmlrpc-epi-php.c

index 435092c..f690985 100644 (file)
 #endif
 /* ==================== end patch */
 
+/* ====================
+ * Thierry - Jan. 30 2013 
+ * patch for php - issues first triggered on f18 with php-5.4
+ * https://bugs.php.net/bug.php?id=60016 
+ * https://bugs.php.net/bug.php?id=60016 
+ */
+#if ZEND_MODULE_API_NO >= 20100525
+// No more defined with PHP 5.4
+#define function_entry zend_function_entry
+#define pval zval
+#endif
+/* ==================== end patch */
+
 /* ========== additional notes
  * in the process, I've also come across the following resources that might help 
  * if/when zend_get_parameters_ex gets deprecated (only generates warnings for now)