1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-05 00:07:51 +02:00

[!ENOSYS] (ENOSYS): Define to ENOTSUP or ENOMSG.

This commit is contained in:
Jim Meyering
1998-07-16 23:12:25 +00:00
parent ee041d6d4f
commit 5b16f997e8
+10
View File
@@ -26,6 +26,16 @@
extern int errno;
#endif
/* Some systems don't have ENOSYS. */
#ifndef ENOSYS
# ifdef ENOTSUP
# define ENOSYS ENOTSUP
# else
/* Some systems don't have ENOTSUP either. */
# define ENOSYS ENOMSG
# endif
#endif
/* Work just like chown, except when FILE is a symbolic link.
In that case, set errno to ENOSYS and return -1. */