Skip to content

Commit ebace1d

Browse files
authored
pcntl add ECAPMODE from FreeBSD (#7716)
1 parent 898da7b commit ebace1d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/pcntl/pcntl.c

+3
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,9 @@ static void php_pcntl_register_errno_constants(INIT_FUNC_ARGS)
446446
#ifdef EUSERS
447447
REGISTER_PCNTL_ERRNO_CONSTANT(EUSERS);
448448
#endif
449+
#ifdef ECAPMODE
450+
REGISTER_PCNTL_ERRNO_CONSTANT(ECAPMODE);
451+
#endif
449452
}
450453

451454
static PHP_GINIT_FUNCTION(pcntl)

0 commit comments

Comments
 (0)