summaryrefslogtreecommitdiff
path: root/lib/lchown.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-06-08 12:02:00 +0000
committerJim Meyering <jim@meyering.net>2004-06-08 12:02:00 +0000
commiteb4aaec1a5fc13c8a57d7e688ab513f8f6212850 (patch)
tree268318d9907cbd3ef79fea706911bbd2d06630f0 /lib/lchown.h
parent0746994e48463c4333293902aff972dc89ca966e (diff)
downloadcoreutils-eb4aaec1a5fc13c8a57d7e688ab513f8f6212850.tar.xz
(EOPNOTSUPP): Define if not defined.
(ENOSYS): Remove.
Diffstat (limited to 'lib/lchown.h')
-rw-r--r--lib/lchown.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/lchown.h b/lib/lchown.h
index 46fa0ede0..d4824b171 100644
--- a/lib/lchown.h
+++ b/lib/lchown.h
@@ -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