THRIFT-755. php: Fix compilation as a static module
authorDavid Reiss <dreiss@apache.org>
Wed, 14 Apr 2010 17:33:01 +0000 (17:33 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 14 Apr 2010 17:33:01 +0000 (17:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@934036 13f79535-47bb-0310-9956-ffa450edef68

lib/php/src/ext/thrift_protocol/php_thrift_protocol.h

index c9a3e00..44d03cc 100644 (file)
@@ -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