Skip to content

Commit d6b4039

Browse files
committed
Merge branch 'PHP-8.1'
* PHP-8.1: Fix pcntl_rfork build for DragonFlyBSD
2 parents a8c6a5c + be22018 commit d6b4039

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/pcntl/pcntl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1563,9 +1563,11 @@ PHP_FUNCTION(pcntl_rfork)
15631563
flags |= RFPROC;
15641564
}
15651565

1566+
#ifdef RFTSIGZMB
15661567
if ((flags & RFTSIGZMB) != 0) {
15671568
flags |= RFTSIGFLAGS(csignal);
15681569
}
1570+
#endif
15691571

15701572
pid = rfork(flags);
15711573

0 commit comments

Comments
 (0)