From: <sa...@us...> - 2006-08-28 23:31:21
|
Revision: 17072 Author: sadrul Date: 2006-08-28 16:31:12 -0700 (Mon, 28 Aug 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=17072&view=rev Log Message: ----------- Apparently wcwidth isn't there everywhere. Thanks to Bleeter for this. Modified Paths: -------------- trunk/console/libgnt/gntutils.c Modified: trunk/console/libgnt/gntutils.c =================================================================== --- trunk/console/libgnt/gntutils.c 2006-08-28 20:43:12 UTC (rev 17071) +++ trunk/console/libgnt/gntutils.c 2006-08-28 23:31:12 UTC (rev 17072) @@ -4,6 +4,10 @@ #include <string.h> #include <wchar.h> +#ifndef __USE_XOPEN +#define wcwidth(X) 1 +#endif + void gnt_util_get_text_bound(const char *text, int *width, int *height) { const char *s = text, *last; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |