Skip to content

Commit 30743f8

Browse files
committed
Remove GRP header for Windows
1 parent b0cf100 commit 30743f8

File tree

5 files changed

+4
-43
lines changed

5 files changed

+4
-43
lines changed

ext/standard/filestat.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,7 @@
5959
#endif
6060

6161
#if HAVE_GRP_H
62-
# ifdef PHP_WIN32
63-
# include "win32/grp.h"
64-
# else
65-
# include <grp.h>
66-
# endif
62+
# include <grp.h>
6763
#endif
6864

6965
#if HAVE_UTIME

ext/standard/link.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,7 @@
4040
#endif
4141
#endif
4242
#if HAVE_GRP_H
43-
#ifdef PHP_WIN32
44-
#include "win32/grp.h"
45-
#else
46-
#include <grp.h>
47-
#endif
43+
# include <grp.h>
4844
#endif
4945
#include <errno.h>
5046
#include <ctype.h>

ext/standard/pageinfo.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@
2828
#endif
2929
#endif
3030
#if HAVE_GRP_H
31-
# ifdef PHP_WIN32
32-
# include "win32/grp.h"
33-
# else
34-
# include <grp.h>
35-
# endif
31+
# include <grp.h>
3632
#endif
3733
#ifdef PHP_WIN32
3834
#undef getgid

win32/build/config.w32.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
#define HAVE_UTIME 1
7272
#undef HAVE_DIRENT_H
7373
#define HAVE_FCNTL_H 1
74-
#define HAVE_GRP_H 1
74+
#define HAVE_GRP_H 0
7575
#undef HAVE_PWD_H
7676
#undef HAVE_SYS_FILE_H
7777
#undef HAVE_SYS_SOCKET_H

win32/grp.h

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)