Nuspell
spell checker
Loading...
Searching...
No Matches
nuspell_export2.h
1#ifndef NUSPELL_EXPORT_H
2#define NUSPELL_EXPORT_H
3
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)
9# else
10# define NUSPELL_EXPORT __declspec(dllimport)
11# endif
12#elif __GNUC__ >= 4
13# define NUSPELL_EXPORT __attribute__((visibility("default")))
14#else
15# define NUSPELL_EXPORT
16#endif
17
18#endif /* NUSPELL_EXPORT_H */