fix non-ts build

This commit is contained in:
Stanislav Malyshev 2010-04-16 23:36:53 +00:00
parent 9cd79b40c5
commit b65385aa44
2 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ static void istream_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
}
#define FETCH_STM() \
TSRMLS_FETCH(); \
php_istream *stm = (php_istream*)This; \
TSRMLS_FETCH(); \
if (GetCurrentThreadId() != stm->engine_thread) \
return RPC_E_WRONG_THREAD;

View File

@ -87,8 +87,8 @@ static inline void trace(char *fmt, ...)
/* }}} */
#define FETCH_DISP(methname) \
TSRMLS_FETCH(); \
php_dispatchex *disp = (php_dispatchex*)This; \
TSRMLS_FETCH(); \
if (COMG(rshutdown_started)) { \
trace(" PHP Object:%p (name:unknown) %s\n", disp->object, methname); \
} else { \