Skip to content

Commit f109795

Browse files
authored
Sync HAVE_GRP_H definition (#14514)
This syncs the HAVE_GRP_H definition on Windows (manually defined) and Autotools (checked with AC_CHECK_HEADERS): HAVE_GRP_H is is either undefined or defined to value 1.
1 parent a5cacba commit f109795

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

ext/standard/filestat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
# endif
6464
#endif
6565

66-
#if HAVE_GRP_H
66+
#ifdef HAVE_GRP_H
6767
# include <grp.h>
6868
#endif
6969

ext/standard/link.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#include <pwd.h>
3838
#endif
3939
#endif
40-
#if HAVE_GRP_H
40+
#ifdef HAVE_GRP_H
4141
# include <grp.h>
4242
#endif
4343
#include <errno.h>

ext/standard/pageinfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include <pwd.h>
2828
#endif
2929
#endif
30-
#if HAVE_GRP_H
30+
#ifdef HAVE_GRP_H
3131
# include <grp.h>
3232
#endif
3333
#ifdef PHP_WIN32

win32/build/config.w32.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
#define HAVE_UTIME 1
6767
#undef HAVE_DIRENT_H
6868
#define HAVE_FCNTL_H 1
69-
#define HAVE_GRP_H 0
69+
#undef HAVE_GRP_H
7070
#undef HAVE_PWD_H
7171
#undef HAVE_SYS_FILE_H
7272
#undef HAVE_SYS_SOCKET_H

0 commit comments

Comments
 (0)