1
0
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:
Jim Meyering
2004-06-08 12:02:00 +00:00
parent 0746994e48
commit eb4aaec1a5

View File

@@ -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