]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
[!ENOSYS] (ENOSYS): Define to ENOTSUP or ENOMSG.
authorJim Meyering <jim@meyering.net>
Thu, 16 Jul 1998 23:20:03 +0000 (23:20 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 16 Jul 1998 23:20:03 +0000 (23:20 +0000)
src/chown.c

index c26b48b5302ebf99e40f9a17d860c567468b975c..d0c33109dcf28793f6bc3780fa64bb9473ac8de1 100644 (file)
 #include "error.h"
 #include "savedir.h"
 
+/* 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
+
 #ifndef _POSIX_VERSION
 struct passwd *getpwnam ();
 struct group *getgrnam ();