File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ PHP NEWS
13
13
(cmb)
14
14
. Fixed bug GH-7757 (Multi-inherited final constant causes fatal error).
15
15
(cmb)
16
+ . Fixed zend_fibers.c build with ZEND_FIBER_UCONTEXT. (Petr Sumbera)
16
17
17
18
- Filter:
18
19
. Fixed FILTER_FLAG_NO_RES_RANGE flag. (Yifan Tong)
Original file line number Diff line number Diff line change 32
32
# include <valgrind/valgrind.h>
33
33
#endif
34
34
35
+ #ifdef ZEND_FIBER_UCONTEXT
36
+ # include <ucontext.h>
37
+ #endif
38
+
35
39
#ifndef ZEND_WIN32
36
40
# include <unistd.h>
37
41
# include <sys/mman.h>
@@ -118,7 +122,6 @@ static zend_always_inline void zend_fiber_restore_vm_state(zend_fiber_vm_state *
118
122
}
119
123
120
124
#ifdef ZEND_FIBER_UCONTEXT
121
- # include <ucontext.h>
122
125
ZEND_TLS zend_fiber_transfer * transfer_data ;
123
126
#else
124
127
/* boost_context_data is our customized definition of struct transfer_t as
You can’t perform that action at this time.
0 commit comments