X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrerror-override.c;h=d0ed2fb86ae0441d0389876af6abf7e190fd7e75;hb=23eecb48e39afd0d267d64d40ba6bf97aa865e13;hp=b47238cb82f96e8edd861ffe27adcaa6aaee2e8f;hpb=04a037691da648c27dd81b362e25d9a18c1485f5;p=gnulib.git diff --git a/lib/strerror-override.c b/lib/strerror-override.c index b47238cb8..d0ed2fb86 100644 --- a/lib/strerror-override.c +++ b/lib/strerror-override.c @@ -1,6 +1,6 @@ /* strerror-override.c --- POSIX compatible system error routine - Copyright (C) 2010-2012 Free Software Foundation, Inc. + Copyright (C) 2010-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -89,6 +89,8 @@ strerror_override (int errnum) return "No route to host"; case EWOULDBLOCK: return "Operation would block"; +#endif +#if GNULIB_defined_ESTREAMS /* native Windows platforms with older */ case ETXTBSY: return "Text file busy"; case ENODATA: @@ -282,10 +284,18 @@ strerror_override (int errnum) #if GNULIB_defined_EOWNERDEAD case EOWNERDEAD: return "Owner died"; +#endif + +#if GNULIB_defined_ENOTRECOVERABLE case ENOTRECOVERABLE: return "State not recoverable"; #endif +#if GNULIB_defined_EILSEQ + case EILSEQ: + return "Invalid or incomplete multibyte or wide character"; +#endif + default: return NULL; }