summaryrefslogtreecommitdiff
path: root/php/src
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-02-19 17:14:02 +0000
committerMark Spruiell <mes@zeroc.com>2004-02-19 17:14:02 +0000
commite5d87dc2dcd3e82cc43f2323b19b217fd38940be (patch)
tree07820e3779c44533c65b3447326449c6020a7502 /php/src
parentAdded reader thread for IcePack test suite (diff)
downloadice-e5d87dc2dcd3e82cc43f2323b19b217fd38940be.tar.bz2
ice-e5d87dc2dcd3e82cc43f2323b19b217fd38940be.tar.xz
ice-e5d87dc2dcd3e82cc43f2323b19b217fd38940be.zip
HP-UX fixes
Diffstat (limited to 'php/src')
-rw-r--r--php/src/ice/proxy.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/php/src/ice/proxy.cpp b/php/src/ice/proxy.cpp
index 1101f829750..416febee961 100644
--- a/php/src/ice/proxy.cpp
+++ b/php/src/ice/proxy.cpp
@@ -57,7 +57,10 @@ ZEND_EXTERN_MODULE_GLOBALS(ice)
//
// Class entries represent the PHP class implementations we have registered.
//
-zend_class_entry* IcePHP::proxyClassEntry = 0;
+namespace IcePHP
+{
+zend_class_entry* proxyClassEntry = 0;
+}
//
// Ice::ObjectPrx support.
@@ -1519,7 +1522,7 @@ handleClone(zval* zv TSRMLS_DC)
zval* clone;
MAKE_STD_ZVAL(clone);
- if(object_init_ex(clone, proxyClassEntry) != SUCCESS)
+ if(object_init_ex(clone, IcePHP::proxyClassEntry) != SUCCESS)
{
zend_error(E_ERROR, "unable to initialize proxy");
return result;