From eb4aaec1a5fc13c8a57d7e688ab513f8f6212850 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 8 Jun 2004 12:02:00 +0000 Subject: (EOPNOTSUPP): Define if not defined. (ENOSYS): Remove. --- lib/lchown.h | 8 ++++---- 1 file 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 -- cgit v1.2.3-70-g09d2