1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

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 commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent 594f84b4e3
commit 2097abb76c

View File

@ -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 */