diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-25 16:38:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-25 16:38:16 +0100 |
commit | 187765b8a45761e14d18da58463dbc0f5bd825e9 (patch) | |
tree | 0a4718e3bc7d1487d0f391d5f3e5109422f3e985 | |
parent | 21334f74a53197c32863fdf3d7e6f365f1b868b7 (diff) |
try including windows.h for MultiByteToWideChar
Change-Id: Ib737e520ff16f2e467504e85fc3969d525fd742a
-rw-r--r-- | external/hunspell/hunspell-fdo48017-wfopen.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/external/hunspell/hunspell-fdo48017-wfopen.patch b/external/hunspell/hunspell-fdo48017-wfopen.patch index a2782e061890..47b803bc6529 100644 --- a/external/hunspell/hunspell-fdo48017-wfopen.patch +++ b/external/hunspell/hunspell-fdo48017-wfopen.patch @@ -1,11 +1,12 @@ diff -ru hunspell/src/hunspell/csutil.cxx build/hunspell/src/hunspell/csutil.cxx --- hunspell/src/hunspell/csutil.cxx 2011-02-02 11:35:43.000000000 +0100 +++ build/hunspell/src/hunspell/csutil.cxx 2014-04-24 19:42:01.373285409 +0200 -@@ -17,6 +17,10 @@ +@@ -17,6 +17,11 @@ unsigned short clower; }; +#ifdef _WIN32 ++#include <windows.h> +#include <wchar.h> +#endif + |