comparison mcabber/src/utf8.h @ 934:a09bf67d1dfb

Unicode support depends on having ncursesw
author Mikael Berthe <mikael@lilotux.net>
date Sat, 08 Jul 2006 12:47:54 +0200
parents fc6aaa223650
children a61c3311a5bb
comparison
equal deleted inserted replaced
933:ede9260be93d 934:a09bf67d1dfb
19 # define iswalnum(c) isalnum(c) 19 # define iswalnum(c) isalnum(c)
20 # define iswprint(c) isprint(c) 20 # define iswprint(c) isprint(c)
21 # undef UNICODE 21 # undef UNICODE
22 #endif 22 #endif
23 23
24 #ifndef HAVE_NCURSESW_NCURSES_H
25 # undef UNICODE
26 #endif
27
24 extern int utf8_mode; 28 extern int utf8_mode;
25 29
26 char *prev_char(char *str, const char *limit); 30 char *prev_char(char *str, const char *limit);
27 char *next_char(char *str); 31 char *next_char(char *str);
28 unsigned get_char(const char *str); 32 unsigned get_char(const char *str);