From 7d9f6883aad738362a8321955b1c1f76e8f7aea1 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 7 Apr 2013 19:18:41 +0300 Subject: [PATCH] Provide definition of ACL_NOT_WELL_SUPPORTED for MS-Windows. src/fileio.c (ACL_NOT_WELL_SUPPORTED): Define macro for WINDOWSNT. Fixes: debbugs:13702 --- src/ChangeLog | 4 ++++ src/fileio.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index be654602cc8..cb6930f9acc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2013-04-07 Eli Zaretskii + + * fileio.c (ACL_NOT_WELL_SUPPORTED): Define macro for WINDOWSNT. + 2013-04-07 Romain Francoise Ignore additional platform-specific ACL errors (Bug#13702). diff --git a/src/fileio.c b/src/fileio.c index 076cdfbc2ff..1049522e5a9 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -92,6 +92,8 @@ along with GNU Emacs. If not, see . */ #elif defined EOPNOTSUPP /* Tru64 NFS */ #define ACL_NOT_WELL_SUPPORTED(Err) \ ((Err) == ENOTSUP || (Err) == ENOSYS || (Err) == EINVAL || (Err) == EBUSY || (Err) == EOPNOTSUPP) +#elif defined WINDOWSNT +#define ACL_NOT_WELL_SUPPORTED(Err) ((Err) == ENOTSUP) #else #define ACL_NOT_WELL_SUPPORTED(Err) \ ((Err) == ENOTSUP || (Err) == ENOSYS || (Err) == EINVAL || (Err) == EBUSY) -- 2.39.2