#include <stddef.h>
+#include "putty.h"
+
struct interval {
unsigned short first;
unsigned short last;
return width;
}
-#if 0 /* RDB: we don't need the cjk version */
/*
* The following function is the same as wcwidth(), except that
* spacing characters in the East Asian Ambiguous (A) category as
* encodings who want to migrate to UCS. It is not otherwise
* recommended for general use.
*/
-static int wcwidth_cjk(wchar_t ucs)
+int wcwidth_cjk(wchar_t ucs)
{
/* sorted list of non-overlapping intervals of East Asian Ambiguous
* characters */
return width;
}
-#endif