Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: third_party/hunspell/src/hunspell/hunspell.hxx

Issue 2587363003: [spellcheck] Updated Hunspell to 1.6.0 (Closed)
Patch Set: Handled presubmit warnings Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/hunspell/src/hunspell/affixmgr.cxx ('k') | third_party/hunspell/src/hunspell/license.hunspell » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/hunspell/src/hunspell/hunspell.hxx
diff --git a/third_party/hunspell/src/hunspell/hunspell.hxx b/third_party/hunspell/src/hunspell/hunspell.hxx
index f24843b01668baf5dc6a0004261fb6ce771cd577..a35df8369b2619f4bab3d6d26ba0214e799e77fa 100644
--- a/third_party/hunspell/src/hunspell/hunspell.hxx
+++ b/third_party/hunspell/src/hunspell/hunspell.hxx
@@ -87,9 +87,12 @@
#define MAXSUGGESTION 15
#define MAXSHARPS 5
-#define MAXWORDLEN 176
-#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
+#ifndef MAXWORDLEN
+#define MAXWORDLEN 100
+#endif
+
+#if defined __GNUC__ && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
# define H_DEPRECATED __attribute__((__deprecated__))
#elif defined(_MSC_VER) && (_MSC_VER >= 1300)
# define H_DEPRECATED __declspec(deprecated)
« no previous file with comments | « third_party/hunspell/src/hunspell/affixmgr.cxx ('k') | third_party/hunspell/src/hunspell/license.hunspell » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698