diff options
Diffstat (limited to 'libc/sysdeps/linux/common/bits/errno.h')
-rw-r--r-- | libc/sysdeps/linux/common/bits/errno.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/errno.h b/libc/sysdeps/linux/common/bits/errno.h index 92227fe73..0bf6354fb 100644 --- a/libc/sysdeps/linux/common/bits/errno.h +++ b/libc/sysdeps/linux/common/bits/errno.h @@ -25,7 +25,9 @@ # include <linux/errno.h> /* Linux has no ENOTSUP error code. */ -# define ENOTSUP EOPNOTSUPP +# ifndef ENOTSUP +# define ENOTSUP EOPNOTSUPP +# endif /* Older Linux versions also had no ECANCELED error code. */ # ifndef ECANCELED |