]> granicus.if.org Git - php/commitdiff
MFB: Get rid of a redundant syscall on non-Windows
authorRasmus Lerdorf <rasmus@php.net>
Wed, 26 Feb 2003 22:19:01 +0000 (22:19 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Wed, 26 Feb 2003 22:19:01 +0000 (22:19 +0000)
main/main.c

index c9e36152ddc26ef6ed558517e84997028947d8c5..94e8d8df12aab1753a8f664ed2abe84e21930e40 100644 (file)
@@ -1729,7 +1729,9 @@ PHPAPI int php_execute_script(zend_file_handle *primary_file TSRMLS_DC)
 #if defined(ZEND_MULTIBYTE) && defined(HAVE_MBSTRING)
                php_mb_set_zend_encoding(TSRMLS_C);
 #endif /* ZEND_MULTIBYTE && HAVE_MBSTRING */
+#ifdef PHP_WIN32
                zend_unset_timeout(TSRMLS_C);
+#endif
                zend_set_timeout(INI_INT("max_execution_time"));
                retval = (zend_execute_scripts(ZEND_REQUIRE TSRMLS_CC, NULL, 3, prepend_file_p, primary_file, append_file_p) == SUCCESS);