diff options
Diffstat (limited to 'Tests/Plugin/include/example.h')
-rw-r--r-- | Tests/Plugin/include/example.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Tests/Plugin/include/example.h b/Tests/Plugin/include/example.h index 87d992e..cbcb3dc 100644 --- a/Tests/Plugin/include/example.h +++ b/Tests/Plugin/include/example.h @@ -2,13 +2,13 @@ #define example_h #if defined(_WIN32) || defined(__CYGWIN__) -#if defined(example_exe_EXPORTS) -#define EXAMPLE_EXPORT __declspec(dllexport) +# if defined(example_exe_EXPORTS) +# define EXAMPLE_EXPORT __declspec(dllexport) +# else +# define EXAMPLE_EXPORT __declspec(dllimport) +# endif #else -#define EXAMPLE_EXPORT __declspec(dllimport) -#endif -#else -#define EXAMPLE_EXPORT +# define EXAMPLE_EXPORT #endif #ifdef __cplusplus |