aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/gnu/errlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/gnu/errlist.c')
-rw-r--r--sysdeps/gnu/errlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/gnu/errlist.c b/sysdeps/gnu/errlist.c
index 80a7c88dc5..c718773d52 100644
--- a/sysdeps/gnu/errlist.c
+++ b/sysdeps/gnu/errlist.c
@@ -574,7 +574,7 @@ TRANS particular function will always fail with @code{ENOSYS} unless you
TRANS install a new version of the C library or the operating system. */
[ERR_REMAP (ENOSYS)] = N_("Function not implemented"),
#endif
-#ifdef ENOTSUP
+#if defined (ENOTSUP) && ENOTSUP != EOPNOTSUPP
/*
TRANS Not supported. A function returns this error when certain parameter
TRANS values are valid, but the functionality they request is not available.