- Timestamp:
- 06/02/2008 07:52:52 (6 months ago)
- Files:
-
- 1 modified
-
trunk/ext/php/phpext.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ext/php/phpext.c
r322 r323 32 32 #include "php_syck.h" 33 33 34 #ifndef Z_SET_REFCOUNT_P 35 # define Z_SET_REFCOUNT_P(x, y) (x)->refcount = (y) 36 #endif 37 34 38 #ifndef true 35 39 # define true 1 … … 607 611 exc = zend_throw_exception_ex(syck_exception_entry, 0 TSRMLS_CC, "%s on line %d, col %d: '%s'", str, p->linect + 1, p->cursor - p->lineptr, p->lineptr); 608 612 609 #if ZEND_MODULE_API_NO >= 20071006610 613 Z_SET_REFCOUNT_P(exc, 2); 611 #else612 exc->refcount = 2; // hack613 #endif614 614 615 615 st_foreach(p->syms, my_cleaner, NULL);