]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(EOPNOTSUPP): Define if not defined.
authorJim Meyering <jim@meyering.net>
Tue, 8 Jun 2004 12:02:00 +0000 (12:02 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 8 Jun 2004 12:02:00 +0000 (12:02 +0000)
(ENOSYS): Remove.

lib/lchown.h

index 46fa0ede047ff63a9246b23e840ae45dbd5de0ec..d4824b171e6e720bf0935777e4f6f20f19556030 100644 (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