summaryrefslogtreecommitdiff
path: root/Zend/zend.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2016-06-20 14:58:42 +0300
committerDmitry Stogov <dmitry@zend.com>2016-06-20 14:58:42 +0300
commitc8706331b5511397bee28c676d98672383222f2f (patch)
treeb6b69b067b396d08f03f7a213d2b6bde89cc1ad9 /Zend/zend.h
parent3abd9c34c1e7249db92014a82b4430393c53928c (diff)
downloadphp-git-c8706331b5511397bee28c676d98672383222f2f.tar.gz
Cleanup zend_signal API
Diffstat (limited to 'Zend/zend.h')
-rw-r--r--Zend/zend.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/Zend/zend.h b/Zend/zend.h
index 23cf6ad831..8fb2726dcf 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -40,10 +40,7 @@
#include "zend_iterators.h"
#include "zend_stream.h"
#include "zend_smart_str_public.h"
-
-#ifdef ZEND_SIGNALS
-# include "zend_signal.h"
-#endif
+#include "zend_signal.h"
#ifndef ZEND_SIGNALS
/* block/unblock interruptions callbacks might be used by SAPI, and were used
@@ -52,7 +49,7 @@
# define HANDLE_BLOCK_INTERRUPTIONS()
# define HANDLE_UNBLOCK_INTERRUPTIONS()
#else
-# define HANDLE_BLOCK_INTERRUPTIONS() ZEND_SIGNAL_BLOCK_INTERRUPUTIONS()
+# define HANDLE_BLOCK_INTERRUPTIONS() ZEND_SIGNAL_BLOCK_INTERRUPTIONS()
# define HANDLE_UNBLOCK_INTERRUPTIONS() ZEND_SIGNAL_UNBLOCK_INTERRUPTIONS()
#endif