From eb598b8c899dcf267f6da6c4c137115af9cb2070 Mon Sep 17 00:00:00 2001 From: David Reiss Date: Wed, 14 Apr 2010 17:33:01 +0000 Subject: [PATCH] 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 --- lib/php/src/ext/thrift_protocol/php_thrift_protocol.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 c9a3e00f..44d03ccd 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 -- 2.17.1