From: Jim Meyering Date: Tue, 8 Jun 2004 12:02:00 +0000 (+0000) Subject: (EOPNOTSUPP): Define if not defined. X-Git-Tag: v5.3.0~1381 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb4aaec1a5fc13c8a57d7e688ab513f8f6212850;p=thirdparty%2Fcoreutils.git (EOPNOTSUPP): Define if not defined. (ENOSYS): Remove. --- diff --git a/lib/lchown.h b/lib/lchown.h index 46fa0ede04..d4824b171e 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