mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-18 17:56:54 +02:00
(EOPNOTSUPP): Define if not defined.
(ENOSYS): Remove.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
/* Some systems don't have ENOSYS. */
|
||||
#ifndef ENOSYS
|
||||
/* Some systems don't have EOPNOTSUPP. */
|
||||
#ifndef EOPNOTSUPP
|
||||
# ifdef ENOTSUP
|
||||
# define ENOSYS ENOTSUP
|
||||
# define EOPNOTSUPP ENOTSUP
|
||||
# else
|
||||
/* Some systems don't have ENOTSUP either. */
|
||||
# define ENOSYS EINVAL
|
||||
# define EOPNOTSUPP EINVAL
|
||||
# endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user