commit | eb598b8c899dcf267f6da6c4c137115af9cb2070 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Wed Apr 14 17:33:01 2010 +0000 |
committer | David Reiss <dreiss@apache.org> | Wed Apr 14 17:33:01 2010 +0000 |
tree | 61ee8395d4de65811e49fcddc6e6358dfc438a01 | |
parent | 33da6432202075cad3f91881e859778f89a9765c [diff] |
THRIFT-755. php: Fix compilation as a static module git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@934036 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/php/src/ext/thrift_protocol/php_thrift_protocol.h b/lib/php/src/ext/thrift_protocol/php_thrift_protocol.h index c9a3e00..44d03cc 100644 --- a/lib/php/src/ext/thrift_protocol/php_thrift_protocol.h +++ b/lib/php/src/ext/thrift_protocol/php_thrift_protocol.h
@@ -22,5 +22,6 @@ PHP_FUNCTION(thrift_protocol_write_binary); PHP_FUNCTION(thrift_protocol_read_binary); -extern zend_module_entry thrift_protocole_module_entry; +extern zend_module_entry thrift_protocol_module_entry; +#define phpext_thrift_protocol_ptr &thrift_protocol_module_entry