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

This commit is contained in:
Dmitry Stogov 2005-08-02 17:01:17 +00:00
parent 990f7043d9
commit 650cdaed12

View File

@ -1313,7 +1313,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