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 authored and Jim Meyering committed 2015-05-10 08:34:16 -07:00
1 parent aa7f31fc4a
commit a976d7c9ab
1 file changed
+1 -5
+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);
}