Author: dreiss
Date: Wed Apr 14 17:33:01 2010
New Revision: 934036

URL: http://svn.apache.org/viewvc?rev=934036&view=rev
Log:
THRIFT-755. php: Fix compilation as a static module

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

Modified: 
incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.h
URL: 
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.h?rev=934036&r1=934035&r2=934036&view=diff
==============================================================================
--- 
incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.h 
(original)
+++ 
incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.h 
Wed Apr 14 17:33:01 2010
@@ -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
 


Reply via email to