diff options
Diffstat (limited to 'src/lib/ethumb/ethumb_private.h')
-rw-r--r-- | src/lib/ethumb/ethumb_private.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/lib/ethumb/ethumb_private.h b/src/lib/ethumb/ethumb_private.h index 32e42ac716..47dba6e0ff 100644 --- a/src/lib/ethumb/ethumb_private.h +++ b/src/lib/ethumb/ethumb_private.h @@ -9,15 +9,15 @@ #endif #ifdef _WIN32 -# ifdef EFL_ETHUMB_BUILD +# ifdef EFL_BUILD # ifdef DLL_EXPORT # define EAPI __declspec(dllexport) # else # define EAPI -# endif /* ! DLL_EXPORT */ +# endif # else # define EAPI __declspec(dllimport) -# endif /* ! EFL_ETHUMB_BUILD */ +# endif #else # ifdef __GNUC__ # if __GNUC__ >= 4 @@ -28,7 +28,7 @@ # else # define EAPI # endif -#endif /* ! _WIN32 */ +#endif typedef struct _Ethumb_Frame Ethumb_Frame; @@ -80,4 +80,7 @@ struct _Ethumb Ethumb_Plugin *plugin; }; +#undef EAPI +#define EAPI + #endif /* __ETHUMB_PRIVATE_H__ */ |