Skip to content

Commit

Permalink
Merge pull request #287 from realFlowControl/php-8.4
Browse files Browse the repository at this point in the history
Make it compile with upcoming PHP 8.4
  • Loading branch information
realFlowControl committed May 12, 2024
2 parents 693c18e + 6b5a8f9 commit 9e39df8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/poll.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@

#include "parallel.h"

#if PHP_VERSION_ID >= 80400
#include "ext/random/php_random.h"
#else
#include "ext/standard/php_mt_rand.h"
#endif

typedef struct _php_parallel_events_poll_t {
struct timeval stop;
Expand Down

0 comments on commit 9e39df8

Please sign in to comment.