summaryrefslogtreecommitdiff
path: root/hunspell
diff options
context:
space:
mode:
authorMartin Hollmichel <mh@openoffice.org>2008-06-11 16:03:12 +0000
committerMartin Hollmichel <mh@openoffice.org>2008-06-11 16:03:12 +0000
commit5a8323c861b0179b121e0b6a3a82521ebc8160e3 (patch)
treedb14515aadd49c2ace8bec0dee1472eaac031c18 /hunspell
parent170cee32562f87dc557929d172653e68ae12dd0c (diff)
make it compile for Win32
Diffstat (limited to 'hunspell')
-rw-r--r--hunspell/hunspell-1.1.12.patch9
1 files changed, 6 insertions, 3 deletions
diff --git a/hunspell/hunspell-1.1.12.patch b/hunspell/hunspell-1.1.12.patch
index ab9484789c29..69cbf65120ab 100644
--- a/hunspell/hunspell-1.1.12.patch
+++ b/hunspell/hunspell-1.1.12.patch
@@ -153,13 +153,16 @@
{"ISO8859-2",iso2_tbl},
{"ISO8859-3",iso3_tbl},
--- misc/hunspell-1.1.12/src/hunspell/csutil.hxx 2007-09-02 02:04:00.000000000 +0200
-+++ misc/build/hunspell-1.1.12/src/hunspell/csutil.hxx 2008-04-24 12:17:07.000000000 +0200
-@@ -21,7 +21,7 @@
++++ misc/build/hunspell-1.1.12/src/hunspell/csutil.hxx 2008-06-11 19:00:13.817528000 +0200
+@@ -21,7 +21,11 @@
// default flags
#define ONLYUPCASEFLAG 65535
--typedef struct {
++#ifdef WIN32
+ typedef struct {
++#else
+typedef struct __attribute__ ((packed)) {
++#endif
unsigned char l;
unsigned char h;
} w_char;