cvs: ZendEngine2 / zend_execute_API.c
| From: | Wez Furlong | Date: | Tue, 18 May 2004 20:14:55 +0000 |
| Subject: | cvs: ZendEngine2 / zend_execute_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2652@lists.php.net to get a copy of this message | ||
wez Tue May 18 16:14:55 2004 EDT
Modified files:
/ZendEngine2 zend_execute_API.c
Log:
Fix bug #28438: win32 build fails in non-zts mode
http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.286&r2=1.287&ty=u
Index: ZendEngine2/zend_execute_API.c
diff -u ZendEngine2/zend_execute_API.c:1.286 ZendEngine2/zend_execute_API.c:1.287
--- ZendEngine2/zend_execute_API.c:1.286 Sun Mar 28 04:37:30 2004
+++ ZendEngine2/zend_execute_API.c Tue May 18 16:14:54 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_execute_API.c,v 1.286 2004/03/28 09:37:30 dmitry Exp $ */
+/* $Id: zend_execute_API.c,v 1.287 2004/05/18 20:14:54 wez Exp $ */
#include <stdio.h>
#include <signal.h>
@@ -1101,14 +1101,17 @@
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;