File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ PHP NEWS
13
13
exceptions). (ilutov)
14
14
. Added zend_call_stack_get implementation for OpenBSD. (David Carlier)
15
15
. Fixed oss-fuzz #60411 (Fix double-compilation of arrow-functions). (ilutov)
16
+ . Fixed build for FreeBSD before the 11.0 releases. (David Carlier)
16
17
17
18
- DOM:
18
19
. Added DOMNode::contains() and DOMNameSpaceNode::contains(). (nielsdos)
Original file line number Diff line number Diff line change 25
25
#include <fcntl.h>
26
26
#include <unistd.h>
27
27
28
- #if defined(__FreeBSD__ )
28
+ #if defined(__FreeBSD__ ) && __FreeBSD_version >= 1100000
29
29
# include <sys/user.h>
30
30
# include <libutil.h>
31
31
#endif
@@ -142,7 +142,7 @@ ZEND_API bool zend_gdb_present(void)
142
142
143
143
close (fd );
144
144
}
145
- #elif defined(__FreeBSD__ )
145
+ #elif defined(__FreeBSD__ ) && __FreeBSD_version >= 1100000
146
146
struct kinfo_proc * proc = kinfo_getproc (getpid ());
147
147
148
148
if (proc ) {
You can’t perform that action at this time.
0 commit comments