diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-01-29 19:15:53 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-01-29 19:15:53 +0000 |
commit | 5567447ef7efee855e5dd88c5b31625e2182f664 (patch) | |
tree | a4e40f4b9186e26c10f720a4d705a32660bd398e /libs/hunspell/src/hunvisapi.h | |
parent | 1c44bd2a93c0953cb67f3f7f1d58e9d5793a85b1 (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.h | 18 |
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 |