Skip to content

Commit 76d8fd5

Browse files
committed
Fix windows build
1 parent 5351baa commit 76d8fd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Zend/zend_alloc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@
7171
# include <wincrypt.h>
7272
# include <process.h>
7373
# include "win32/winutil.h"
74+
# define getpid _getpid
75+
typedef int pid_t;
7476
#endif
7577

7678
#include <stdio.h>

0 commit comments

Comments
 (0)