X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Flchown.h;h=d4824b171e6e720bf0935777e4f6f20f19556030;hb=fdbc2d4ba69ef24b623b87cb6fd2114215e7b52b;hp=25e4dac98401a0095fe3867f4e4f3011445e5458;hpb=7f33074adf6cfc8143338bd137669453d4607fdc;p=gnulib.git diff --git a/lib/lchown.h b/lib/lchown.h index 25e4dac98..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 ENOMSG +# define EOPNOTSUPP EINVAL # endif #endif