File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1296,14 +1296,14 @@ int main(int argc, char **argv) /* {{{ */
1296
1296
1297
1297
/* do not install sigint handlers for remote consoles */
1298
1298
/* sending SIGINT then provides a decent way of shutting down the server */
1299
- #if defined(ZEND_SIGNALS ) && !defined(_WIN32 )
1300
- if (listen [0 ] < 0 ) {
1301
- zend_try { zend_signal (SIGINT , phpdbg_sigint_handler TSRMLS_CC ); } zend_end_try ();
1302
- }
1303
- #elif !defined(_WIN32 )
1299
+ #ifndef _WIN32
1304
1300
if (listen [0 ] < 0 ) {
1305
1301
#endif
1302
+ #if defined(ZEND_SIGNALS ) && !defined(_WIN32 )
1303
+ zend_try { zend_signal (SIGINT , phpdbg_sigint_handler TSRMLS_CC ); } zend_end_try ();
1304
+ #else
1306
1305
signal (SIGINT , phpdbg_sigint_handler );
1306
+ #endif
1307
1307
#ifndef _WIN32
1308
1308
}
1309
1309
#endif
You can’t perform that action at this time.
0 commit comments