diff options
Diffstat (limited to 'zend/exists.cpp')
-rw-r--r-- | zend/exists.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/zend/exists.cpp b/zend/exists.cpp index 3add227..1177e47 100644 --- a/zend/exists.cpp +++ b/zend/exists.cpp @@ -13,6 +13,15 @@ #include "includes.h" /** + * On php 5.3 ZEND_ACC_TRAIT isn't defined, so we simply define it to 0 + * so all operations with it are basically no-ops. Currently unconfirmed + * if this actually works correctly on php 5.3, but it at least compiles. + */ +#ifndef ZEND_ACC_TRAIT +#define ZEND_ACC_TRAIT 0 +#endif + +/** * Open the PHP namespace */ namespace Php { |