Parent Directory | Revision Log | Patch
revision 1.2 by akim, Fri Aug 3 08:48:49 2001 UTC | revision 1.2.2.1 by akim, Thu Sep 27 14:25:57 2001 UTC | |
---|---|---|
# | Line 63 | Line 63 |
63 | #endif | #endif |
64 | ||
65 | #if HAVE_WCHAR_H | #if HAVE_WCHAR_H |
66 | ||
67 | /* BSD/OS 4.1 wchar.h requires FILE and struct tm to be declared. */ | |
68 | # include <stdio.h> | |
69 | # include <time.h> | |
70 | ||
71 | # include <wchar.h> | # include <wchar.h> |
72 | #endif | #endif |
73 | ||
# | Line 73 | Line 78 |
78 | # undef MB_CUR_MAX | # undef MB_CUR_MAX |
79 | # define MB_CUR_MAX 1 | # define MB_CUR_MAX 1 |
80 | # define mbrtowc(pwc, s, n, ps) ((*(pwc) = *(s)) != 0) | # define mbrtowc(pwc, s, n, ps) ((*(pwc) = *(s)) != 0) |
# define mbsinit(ps) 1 | ||
81 | # define iswprint(wc) ISPRINT ((unsigned char) (wc)) | # define iswprint(wc) ISPRINT ((unsigned char) (wc)) |
82 | # undef HAVE_MBSINIT | |
83 | #endif | |
84 | ||
85 | #if !defined mbsinit && !HAVE_MBSINIT | |
86 | # define mbsinit(ps) 1 | |
87 | #endif | #endif |
88 | ||
89 | #ifndef iswprint | #ifndef iswprint |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |