Skip to content

Commit a9253b0

Browse files
committed
Suppress zend_signals warnings if pdo_firebird loaded
1 parent 27afc45 commit a9253b0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ext/pdo_firebird/pdo_firebird.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ PHP_MINIT_FUNCTION(pdo_firebird) /* {{{ */
6060

6161
php_pdo_register_driver(&pdo_firebird_driver);
6262

63+
#ifdef ZEND_SIGNALS
64+
/* firebird replaces some signals at runtime, suppress warnings. */
65+
SIGG(check) = 0;
66+
#endif
67+
6368
return SUCCESS;
6469
}
6570
/* }}} */

0 commit comments

Comments
 (0)