summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/system.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/system.h b/src/system.h
index 0e25bc414..8a9b47907 100644
--- a/src/system.h
+++ b/src/system.h
@@ -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);
}