1
0
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:
Paul Eggert
2015-05-10 08:31:14 -07:00
committed by Jim Meyering
parent aa7f31fc4a
commit a976d7c9ab
+1 -5
View File
@@ -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);
}