/* Test whether ACLs are well supported on this system.
- Copyright 2013 Free Software Foundation, Inc.
+ Copyright 2013-2014 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
case ENOENT: return false;
#endif
case ENOSYS: return false;
+
#if defined ENOTSUP && ENOTSUP != EOPNOTSUPP
+# if ENOTSUP != ENOSYS /* Needed for the MS-Windows port of GNU Emacs. */
case ENOTSUP: return false;
+# endif
#endif
+
case EOPNOTSUPP: return false;
default: return true;
}