When building master, I'm getting compiler and linker errors for _S_ISDIR not being defined. This patch seems to fix the problem:
--- a/dir.c +++ b/dir.c @@ -1212,7 +1212,7 @@ local_stat (const char *path, struct stat *buf) strncpy (parent, path, plen - 2); parent[plen - 2] = '\0'; - if (stat (parent, buf) < 0 || !_S_ISDIR (buf->st_mode)) + if (stat (parent, buf) < 0 || !S_ISDIR (buf->st_mode)) return -1; } #endif
_______________________________________________ Make-w32 mailing list Make-w32@gnu.org https://lists.gnu.org/mailman/listinfo/make-w32