summaryrefslogtreecommitdiffstats
path: root/external/hunspell/hunspell-windows.patch
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-05-03 09:04:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-05-03 09:06:23 +0100
commit79acc3da353ad05382db7b59d3be8e40983da4b7 (patch)
tree21bb56530590f7e98752ea786f81f29306688c5f /external/hunspell/hunspell-windows.patch
parent-Werror=maybe-uninitialized (diff)
downloadcore-79acc3da353ad05382db7b59d3be8e40983da4b7.tar.gz
core-79acc3da353ad05382db7b59d3be8e40983da4b7.zip
bump to hunspell 1.4.1
Change-Id: I20d9abfd73586daf1ed99f0e1a2481840e61f90e
Diffstat (limited to 'external/hunspell/hunspell-windows.patch')
-rw-r--r--external/hunspell/hunspell-windows.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/external/hunspell/hunspell-windows.patch b/external/hunspell/hunspell-windows.patch
new file mode 100644
index 000000000000..357272d17c00
--- /dev/null
+++ b/external/hunspell/hunspell-windows.patch
@@ -0,0 +1,21 @@
+--- /dev/null 2016-03-15 09:11:25.292954614 +0000
++++ misc/hunspell-1.3.4/src/hunspell/hunvisapi.h 2016-04-06 16:40:47.181698825 +0100
+@@ -0,0 +1,18 @@
++#ifndef _HUNSPELL_VISIBILITY_H_
++#define _HUNSPELL_VISIBILITY_H_
++
++#if defined(HUNSPELL_STATIC)
++# define LIBHUNSPELL_DLL_EXPORTED
++#elif defined(_MSC_VER)
++# if defined(BUILDING_LIBHUNSPELL)
++# define LIBHUNSPELL_DLL_EXPORTED __declspec(dllexport)
++# else
++# define LIBHUNSPELL_DLL_EXPORTED __declspec(dllimport)
++# endif
++#elif defined(BUILDING_LIBHUNSPELL) && 1
++# define LIBHUNSPELL_DLL_EXPORTED __attribute__((__visibility__("default")))
++#else
++# define LIBHUNSPELL_DLL_EXPORTED
++#endif
++
++#endif