com php-src: Fixed compilation error: Zend/zend_exceptions. h
| From: | Dmitry Stogov | Date: | Mon, 12 Dec 2016 08:19:04 +0000 |
| Subject: | com php-src: Fixed compilation error: Zend/zend_exceptions. h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96302@lists.php.net to get a copy of this message | ||
Commit: 2d52d787412e6a85791c9c700edf999a27b1d6a6
Author: Dmitry Stogov <dmitry@zend.com> Mon, 12 Dec 2016 11:19:04 +0300
Parents: fac95658b3201fdc7924cd3afa44a5f7afc194aa
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2d52d787412e6a85791c9c700edf999a27b1d6a6
Log:
Fixed compilation error
Changed paths:
M Zend/zend_exceptions.h
Diff:
diff --git a/Zend/zend_exceptions.h b/Zend/zend_exceptions.h
index 71dcc8d..e88b5e1 100644
--- a/Zend/zend_exceptions.h
+++ b/Zend/zend_exceptions.h
@@ -72,6 +72,8 @@ ZEND_API ZEND_COLD void zend_exception_error(zend_object *exception, int severit
size_t zend_spprintf(char **message, size_t max_len, const char *format, ...)
ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
zend_string *zend_strpprintf(size_t max_len, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf,
2, 3);
+#include "zend_globals.h"
+
static zend_always_inline void zend_rethrow_exception(zend_execute_data *execute_data)
{
if (EX(opline)->opcode != ZEND_HANDLE_EXCEPTION) {