From 5567447ef7efee855e5dd88c5b31625e2182f664 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 29 Jan 2016 19:15:53 +0000 Subject: libhunspell: initial commit git-svn-id: http://svn.miranda-ng.org/main/trunk@16187 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- libs/hunspell/src/hunvisapi.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 libs/hunspell/src/hunvisapi.h (limited to 'libs/hunspell/src/hunvisapi.h') 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 -- cgit v1.2.3