From: Eli Zaretskii Date: Sun, 7 Apr 2013 16:18:41 +0000 (+0300) Subject: Provide definition of ACL_NOT_WELL_SUPPORTED for MS-Windows. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~510 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7d9f6883aad738362a8321955b1c1f76e8f7aea1;p=emacs.git Provide definition of ACL_NOT_WELL_SUPPORTED for MS-Windows. src/fileio.c (ACL_NOT_WELL_SUPPORTED): Define macro for WINDOWSNT. Fixes: debbugs:13702 --- 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)