diff options
Diffstat (limited to 'newlib/libc/string/strerror.c')
-rw-r--r-- | newlib/libc/string/strerror.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/string/strerror.c b/newlib/libc/string/strerror.c index 8bea4b768..209eeb9cc 100644 --- a/newlib/libc/string/strerror.c +++ b/newlib/libc/string/strerror.c @@ -736,7 +736,7 @@ _DEFUN (strerror, (errnum), error = "Socket is already connected"; break; #endif -#if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (ENOTSUP != EOPNOTSUPP)) +#ifdef EOPNOTSUPP case EOPNOTSUPP: error = "Operation not supported on socket"; break; |