From e940c00ab989fb7c461afbbcc2212197df2596c6 Mon Sep 17 00:00:00 2001 From: Jorgen Lundman Date: Thu, 30 Jun 2022 15:03:32 +0900 Subject: [PATCH] dirent.h defines things now in stat.h There is some trickery with stat.h so lets move cautiously. --- lib/libspl/include/os/windows/dirent.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/lib/libspl/include/os/windows/dirent.h b/lib/libspl/include/os/windows/dirent.h index f90080e0351d..0c092ca92a50 100644 --- a/lib/libspl/include/os/windows/dirent.h +++ b/lib/libspl/include/os/windows/dirent.h @@ -38,15 +38,16 @@ extern "C" { #include #if defined(_MSC_VER) -#define S_IRUSR S_IREAD /* read, user */ -#define S_IWUSR S_IWRITE /* write, user */ -#define S_IXUSR 0 /* execute, user */ -#define S_IRGRP 0 /* read, group */ -#define S_IWGRP 0 /* write, group */ -#define S_IXGRP 0 /* execute, group */ -#define S_IROTH 0 /* read, others */ -#define S_IWOTH 0 /* write, others */ -#define S_IXOTH 0 /* execute, others */ + // These are now defined in stat.h +// #define S_IRUSR S_IREAD /* read, user */ +// #define S_IWUSR S_IWRITE /* write, user */ +// #define S_IXUSR 0 /* execute, user */ +// #define S_IRGRP 0 /* read, group */ +// #define S_IWGRP 0 /* write, group */ +// #define S_IXGRP 0 /* execute, group */ +// #define S_IROTH 0 /* read, others */ +// #define S_IWOTH 0 /* write, others */ +// #define S_IXOTH 0 /* execute, others */ #endif