blob: 5d58ab7f540ccafce0ca1278d412d5c85756ea8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
https://bugs.gentoo.org/583486
http://bugzilla.abisource.com/show_bug.cgi?id=13772
--- enchant-1.6.0/src/myspell/myspell_checker.cpp
+++ enchant-1.6.0/src/myspell/myspell_checker.cpp
@@ -148,6 +148,10 @@
g_iconv_close(m_translate_out);
}
+#ifndef MAXWORDLEN
+# define MAXWORDLEN 100
+#endif
+
bool
MySpellChecker::checkWord(const char *utf8Word, size_t len)
{
|