1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 09:42:22 +01:00

Fixed bug #33942 (the patch to #33156 crash cygwin except cli)

This commit is contained in:
Dmitry Stogov
2005-08-02 17:01:33 +00:00
parent 46079e009c
commit c85bb04fa5

View File

@@ -1309,7 +1309,11 @@ void zend_unset_timeout(TSRMLS_D)
no_timeout.it_value.tv_sec = no_timeout.it_value.tv_usec = no_timeout.it_interval.tv_sec = no_timeout.it_interval.tv_usec = 0;
#ifdef __CYGWIN__
setitimer(ITIMER_REAL, &no_timeout, NULL);
#else
setitimer(ITIMER_PROF, &no_timeout, NULL);
#endif
}
# endif
#endif