Skip to content

Commit 708fd96

Browse files
committed
move unix-only variable into ifndef
1 parent d29a79a commit 708fd96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

win32/glob.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,9 @@ globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, glob_t *pglob)
386386
{
387387
#ifndef PHP_WIN32
388388
struct passwd pwstore, *pwd = NULL;
389+
char pwbuf[_PW_BUF_LEN];
389390
#endif
390-
char *h, pwbuf[_PW_BUF_LEN];
391+
char *h;
391392
const Char *p;
392393
Char *b, *eb;
393394

0 commit comments

Comments
 (0)