summaryrefslogtreecommitdiff
path: root/libs/hunspell/src/hunvisapi.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-01-29 19:15:53 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-01-29 19:15:53 +0000
commit5567447ef7efee855e5dd88c5b31625e2182f664 (patch)
treea4e40f4b9186e26c10f720a4d705a32660bd398e /libs/hunspell/src/hunvisapi.h
parent1c44bd2a93c0953cb67f3f7f1d58e9d5793a85b1 (diff)
libhunspell: initial commit
git-svn-id: http://svn.miranda-ng.org/main/trunk@16187 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'libs/hunspell/src/hunvisapi.h')
-rw-r--r--libs/hunspell/src/hunvisapi.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/libs/hunspell/src/hunvisapi.h b/libs/hunspell/src/hunvisapi.h
new file mode 100644
index 0000000000..abf025ae97
--- /dev/null
+++ b/libs/hunspell/src/hunvisapi.h
@@ -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) && @HAVE_VISIBILITY@
+# define LIBHUNSPELL_DLL_EXPORTED __attribute__((__visibility__("default")))
+#else
+# define LIBHUNSPELL_DLL_EXPORTED
+#endif
+
+#endif