hunvisapi.h 490 B

123456789101112131415161718
  1. #ifndef _HUNSPELL_VISIBILITY_H_
  2. #define _HUNSPELL_VISIBILITY_H_
  3. #if defined(HUNSPELL_STATIC)
  4. # define LIBHUNSPELL_DLL_EXPORTED
  5. #elif defined(_MSC_VER)
  6. # if defined(BUILDING_LIBHUNSPELL)
  7. # define LIBHUNSPELL_DLL_EXPORTED __declspec(dllexport)
  8. # else
  9. # define LIBHUNSPELL_DLL_EXPORTED __declspec(dllimport)
  10. # endif
  11. #elif BUILDING_LIBHUNSPELL && 1
  12. # define LIBHUNSPELL_DLL_EXPORTED __attribute__((__visibility__("default")))
  13. #else
  14. # define LIBHUNSPELL_DLL_EXPORTED
  15. #endif
  16. #endif