From 5f1130746f2d519cabacd3059528148916dc554d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 22 Jul 2001 10:50:21 +0000 Subject: if EILSEQ doesn't exist then use EIO. It doesn't really matter what error code we use, as long as its not another one that iconv() can give. (This used to be commit 2097abb76c1845a69a7136af388cef09243ca066) --- source3/include/includes.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source3/include/includes.h b/source3/include/includes.h index 51f2ca9ee8..87547f5253 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -1029,9 +1029,10 @@ extern int DEBUGLEVEL; #define RTLD_NOW 0 #endif -/* needed for some systems without iconv */ +/* needed for some systems without iconv. Doesn't really matter + what error code we use */ #ifndef EILSEQ -#define EILSEQ EINVAL +#define EILSEQ EIO #endif /* add varargs prototypes with printf checking */ -- cgit