[gq-commit] gq/src utf8-compat.h,1.4,1.5
Status: Beta
Brought to you by:
sur5r
From: <sta...@us...> - 2003-10-24 19:11:35
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1:/tmp/cvs-serv15065 Modified Files: utf8-compat.h Log Message: * Fix some stupid double-definitions Index: utf8-compat.h =================================================================== RCS file: /cvsroot/gqclient/gq/src/utf8-compat.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** utf8-compat.h 21 Oct 2003 04:53:50 -0000 1.4 --- utf8-compat.h 24 Oct 2003 19:10:25 -0000 1.5 *************** *** 36,41 **** # define g_utf8_get_char(p) (*(p)) # define g_utf8_next_char(p) (((char*)(p))+1) - # define g_unichar_isdigit(c) isdigit(c) - # define g_string_append_unichar(s,c) g_string_append_c((s),(c)) # define g_strcompress(x) g_strdup(x) #else --- 36,39 ---- *************** *** 46,50 **** # include <ctype.h> # define g_unichar_isspace isspace ! # define g_unichar_isdigit isdigit #endif --- 44,48 ---- # include <ctype.h> # define g_unichar_isspace isspace ! # define g_unichar_isdigit(c) isdigit(c) #endif *************** *** 54,58 **** #ifndef HAVE_G_STRING_APPEND_UNICHAR ! # define g_string_append_unichar g_string_append_c #endif --- 52,56 ---- #ifndef HAVE_G_STRING_APPEND_UNICHAR ! # define g_string_append_unichar(s,c) g_string_append_c((s),(c)) #endif |