mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-07-29 03:50:45 +02:00
build: rewrite is_ENOTSUP without an #if directive
* src/system.h (is_ENOTSUP): Avoid in-function #if directive.
This commit is contained in:
committed by
Jim Meyering
parent
aa7f31fc4a
commit
a976d7c9ab
+1
-5
@@ -703,9 +703,5 @@ static inline char * se_const (char const * sctx) { return (char *) sctx; }
|
||||
static inline bool
|
||||
is_ENOTSUP (int err)
|
||||
{
|
||||
return err == EOPNOTSUPP
|
||||
#if ENOTSUP != EOPNOTSUPP
|
||||
|| err == ENOTSUP
|
||||
#endif
|
||||
;
|
||||
return err == EOPNOTSUPP || (ENOTSUP != EOPNOTSUPP && err == ENOTSUP);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user