From: Wez Furlong Date: Tue, 18 May 2004 20:14:54 +0000 (+0000) Subject: Fix bug #28438: win32 build fails in non-zts mode X-Git-Tag: RELEASE_0_1~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d80297b251291aab4bd56f34482813d3056af5ff;p=php Fix bug #28438: win32 build fails in non-zts mode --- diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 7db680089b..0cee71deb1 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -1101,14 +1101,17 @@ static LRESULT CALLBACK zend_timeout_WndProc(HWND hWnd, UINT message, WPARAM wPa if (lParam==0) { KillTimer(timeout_window, wParam); } else { +#ifdef ZTS void ***tsrm_ls; - +#endif SetTimer(timeout_window, wParam, lParam*1000, NULL); +#ifdef ZTS tsrm_ls = ts_resource_ex(0, &wParam); if (!tsrm_ls) { /* shouldn't normally happen */ break; } +#endif EG(timed_out) = 0; } break;