diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-07-22 07:38:32 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-07-22 07:38:32 +0000 |
commit | 49514266131aa55b4a97f02b39b2d5e5c1f625a2 (patch) | |
tree | 81cc9bf796345a882305af58bd18caa705d4e774 /source3/include/includes.h | |
parent | 512351db92b4e13c2944f740090ec58730d8fa06 (diff) | |
download | samba-49514266131aa55b4a97f02b39b2d5e5c1f625a2.tar.gz samba-49514266131aa55b4a97f02b39b2d5e5c1f625a2.tar.bz2 samba-49514266131aa55b4a97f02b39b2d5e5c1f625a2.zip |
changed the iconv interface to go via ucs2 for all conversions. This
fixes some problems wih some character sets and allows for using
internal charsets in conjunction with ionv charsets
this makes us slower but more correct. speed will come later.
(This used to be commit 594f84b4e39182dcf344c02dc0185376a2726395)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r-- | source3/include/includes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 3d6147f587..51f2ca9ee8 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -1029,6 +1029,11 @@ extern int DEBUGLEVEL; #define RTLD_NOW 0 #endif +/* needed for some systems without iconv */ +#ifndef EILSEQ +#define EILSEQ EINVAL +#endif + /* add varargs prototypes with printf checking */ int fdprintf(int , char *, ...) PRINTF_ATTRIBUTE(2,3); #ifndef HAVE_SNPRINTF_DECL |