diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c index 4190353d7dc7c..4cb7b93745ade 100644 --- a/ext/standard/filestat.c +++ b/ext/standard/filestat.c @@ -63,7 +63,7 @@ # endif #endif -#if HAVE_GRP_H +#ifdef HAVE_GRP_H # include #endif diff --git a/ext/standard/link.c b/ext/standard/link.c index 6b7c96ca7d8ce..0529006d4667c 100644 --- a/ext/standard/link.c +++ b/ext/standard/link.c @@ -37,7 +37,7 @@ #include #endif #endif -#if HAVE_GRP_H +#ifdef HAVE_GRP_H # include #endif #include diff --git a/ext/standard/pageinfo.c b/ext/standard/pageinfo.c index f24659a95e048..c1cbc59bfaa19 100644 --- a/ext/standard/pageinfo.c +++ b/ext/standard/pageinfo.c @@ -27,7 +27,7 @@ #include #endif #endif -#if HAVE_GRP_H +#ifdef HAVE_GRP_H # include #endif #ifdef PHP_WIN32 diff --git a/win32/build/config.w32.h.in b/win32/build/config.w32.h.in index e2b38e8c7c15a..d8fab6b07c1bd 100644 --- a/win32/build/config.w32.h.in +++ b/win32/build/config.w32.h.in @@ -66,7 +66,7 @@ #define HAVE_UTIME 1 #undef HAVE_DIRENT_H #define HAVE_FCNTL_H 1 -#define HAVE_GRP_H 0 +#undef HAVE_GRP_H #undef HAVE_PWD_H #undef HAVE_SYS_FILE_H #undef HAVE_SYS_SOCKET_H