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)
10 # define LIBHUNSPELL_DLL_EXPORTED __declspec(dllimport)
12 #elif BUILDING_LIBHUNSPELL && 1
13 # define LIBHUNSPELL_DLL_EXPORTED __attribute__((__visibility__("default")))
15 # define LIBHUNSPELL_DLL_EXPORTED