commit | 7c7679198f783638b6bec6c0b2de4da6e6127b94 | [log] [tgz] |
---|---|---|
author | Roger Meier <roger@apache.org> | Tue Apr 17 16:03:21 2012 +0000 |
committer | Roger Meier <roger@apache.org> | Tue Apr 17 16:03:21 2012 +0000 |
tree | 823740ea0ebf21acd0e7f917a45b81d5bf082621 | |
parent | b661e83fab3bfa7a5240f254e8a948830ffeabdf [diff] |
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 git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1327152 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp b/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp index 4a0a02f..0d741c2 100644 --- a/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp +++ b/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp
@@ -96,7 +96,7 @@ #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}