1 #ifndef NUSPELL_EXPORT_H 2 #define NUSPELL_EXPORT_H 4 #ifdef NUSPELL_STATIC_DEFINE 5 # define NUSPELL_EXPORT 6 #elif defined(_WIN32) || defined(__CYGWIN__) 7 # ifdef nuspell_EXPORTS // Define this only when building Nuspell as DLL on Windows, not when using the DLL. 8 # define NUSPELL_EXPORT __declspec(dllexport) 10 # define NUSPELL_EXPORT __declspec(dllimport) 13 # define NUSPELL_EXPORT __attribute__((visibility("default"))) 15 # define NUSPELL_EXPORT