]> git.lyx.org Git - features.git/blob - 3rdparty/hunspell/1.7.0/src/hunspell/hunvisapi.h.in
Update the in-source hunspell to version 1.7.0
[features.git] / 3rdparty / hunspell / 1.7.0 / src / hunspell / hunvisapi.h.in
1 #ifndef HUNSPELL_VISIBILITY_H_
2 #define HUNSPELL_VISIBILITY_H_
3
4 #if defined(HUNSPELL_STATIC)
5 #  define LIBHUNSPELL_DLL_EXPORTED
6 #elif defined(_WIN32)
7 #  if defined(BUILDING_LIBHUNSPELL)
8 #    define LIBHUNSPELL_DLL_EXPORTED __declspec(dllexport)
9 #  else
10 #    define LIBHUNSPELL_DLL_EXPORTED __declspec(dllimport)
11 #  endif
12 #elif defined(BUILDING_LIBHUNSPELL) && @HAVE_VISIBILITY@
13 #  define LIBHUNSPELL_DLL_EXPORTED __attribute__((__visibility__("default")))
14 #else
15 #  define LIBHUNSPELL_DLL_EXPORTED
16 #endif
17
18 #endif