You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ro...@apache.org on 2012/04/17 18:03:21 UTC

svn commit: r1327152 - /thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp

Author: roger
Date: Tue Apr 17 16:03:21 2012
New Revision: 1327152

URL: http://svn.apache.org/viewvc?rev=1327152&view=rev
Log:
THRIFT-1577 Compile thrift with php module for php 5.4.0 failed. need to replace function_entry with zend_function_entry
Patch: Matrix Ji

Modified:
    thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp

Modified: thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp
URL: http://svn.apache.org/viewvc/thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp?rev=1327152&r1=1327151&r2=1327152&view=diff
==============================================================================
--- thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp (original)
+++ thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp Tue Apr 17 16:03:21 2012
@@ -96,7 +96,7 @@ const int BAD_VERSION = 4;
 #include "zend_exceptions.h"
 #include "php_thrift_protocol.h"
 
-static function_entry thrift_protocol_functions[] = {
+static zend_function_entry thrift_protocol_functions[] = {
   PHP_FE(thrift_protocol_write_binary, NULL)
   PHP_FE(thrift_protocol_read_binary, NULL)
   {NULL, NULL, NULL}