Skip to content

Commit

Permalink
bugfix: 修复Windows下构建失败
Browse files Browse the repository at this point in the history
  • Loading branch information
wangsiqi2-tal committed Nov 4, 2022
1 parent bd54f3b commit 441a939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/pcntl/pcntl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ static void pcntl_siginfo_to_zval(int signo, siginfo_t *siginfo, zval *user_sigi
case SIGBUS:
add_assoc_double_ex(user_siginfo, "addr", sizeof("addr")-1, (zend_long)siginfo->si_addr);
break;
#ifdef SIGPOLL
#if defined(SIGPOLL) && !defined(__CYGWIN__)
case SIGPOLL:
add_assoc_long_ex(user_siginfo, "band", sizeof("band")-1, siginfo->si_band);
# ifdef si_fd
Expand Down

0 comments on commit 441a939

Please sign in to comment.