Check-in hunspell source code.
[chromium-blink-merge.git] / third_party / hunspell_new / src / hunspell / hunvisapi.h.in
blob9c7f1b7b134ed65c58f5cd1d0e16d84f8cecf3b9
1 #ifndef _HUNSPELL_VISIBILITY_H_
2 #define _HUNSPELL_VISIBILITY_H_
4 #if defined(HUNSPELL_STATIC)
5 # define LIBHUNSPELL_DLL_EXPORTED
6 #elif defined(_MSC_VER)
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 BUILDING_LIBHUNSPELL && @HAVE_VISIBILITY@
13 # define LIBHUNSPELL_DLL_EXPORTED __attribute__((__visibility__("default")))
14 #else
15 # define LIBHUNSPELL_DLL_EXPORTED
16 #endif
18 #endif