summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabiano Fidencio <fabiano@fidencio.org>2011-06-22 21:48:38 +0000
committerFabiano Fidencio <fabiano@fidencio.org>2011-06-22 21:48:38 +0000
commitd4404a9d363f1a5adaceae70bd7ae9e775a46f6c (patch)
tree9c2ea461790f64a87c403a974d1de2ff9205b8ff
parent9ed80fe73fd78f547dbd481d1fbd4631fb50fd35 (diff)
downloadenchant-d4404a9d363f1a5adaceae70bd7ae9e775a46f6c.tar.gz
Fixing myspell support compilation on OS X
nice catch, Dwayne Bailey! :-) git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@29868 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r--src/myspell/csutil.cxx7
-rw-r--r--src/myspell/csutil.hxx7
2 files changed, 7 insertions, 7 deletions
diff --git a/src/myspell/csutil.cxx b/src/myspell/csutil.cxx
index 6b7e80f..17134f0 100644
--- a/src/myspell/csutil.cxx
+++ b/src/myspell/csutil.cxx
@@ -10,13 +10,6 @@
#include "atypes.hxx"
#include "langnum.hxx"
-// Unicode character encoding information
-struct unicode_info {
- unsigned short c;
- unsigned short cupper;
- unsigned short clower;
-};
-
#ifdef OPENOFFICEORG
# include <unicode/uchar.h>
#else
diff --git a/src/myspell/csutil.hxx b/src/myspell/csutil.hxx
index 7bd0b91..a518b34 100644
--- a/src/myspell/csutil.hxx
+++ b/src/myspell/csutil.hxx
@@ -116,6 +116,13 @@ struct cs_info {
unsigned char cupper;
};
+// Unicode character encoding information
+struct unicode_info {
+ unsigned short c;
+ unsigned short cupper;
+ unsigned short clower;
+};
+
LIBHUNSPELL_DLL_EXPORTED int initialize_utf_tbl();
LIBHUNSPELL_DLL_EXPORTED void free_utf_tbl();
LIBHUNSPELL_DLL_EXPORTED unsigned short unicodetoupper(unsigned short c, int langnum);