diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-03 13:49:50 +0200 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-03 13:49:50 +0200 |
commit | 8ce7055ebfbd28f283e08eb822980a7f4641c0cd (patch) | |
tree | 753ed7fed0c6dd1a8a048c8d094f593f76ac06d2 | |
parent | 09cab951e9b2b0891fe6a9e9a95dac4e016b3b9b (diff) |
fixes TSRMLS compile issues
-rw-r--r-- | src/base.cpp | 2 | ||||
-rw-r--r-- | src/classimpl.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/base.cpp b/src/base.cpp index d415845..a828083 100644 --- a/src/base.cpp +++ b/src/base.cpp @@ -47,7 +47,7 @@ MixedObject *Base::store(zend_class_entry *entry TSRMLS_DC) #endif -#if ZTS +#ifdef ZTS // when in thread safety mode, the destruct method and free method have // an extra parameter holding thread information diff --git a/src/classimpl.cpp b/src/classimpl.cpp index 521affa..98130dc 100644 --- a/src/classimpl.cpp +++ b/src/classimpl.cpp @@ -1406,7 +1406,7 @@ void ClassImpl::initialize(ClassBase *base, const std::string &prefix TSRMLS_DC) for (auto &interface : _interfaces) { // register this interface - zend_class_implements(_entry, 1, interface->_entry); + zend_class_implements(_entry TSRMLS_CC, 1, interface->_entry); } // allocate doc comment to contain an empty string + a hidden pointer |