X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c846884b3801ce9881ed270f79b52811af11cf9e..034e3041693f90324cfa4d282ef44e6063738d83:/include/wx/dlimpexp.h diff --git a/include/wx/dlimpexp.h b/include/wx/dlimpexp.h index fd823a5144..6af0cd5f26 100644 --- a/include/wx/dlimpexp.h +++ b/include/wx/dlimpexp.h @@ -79,6 +79,7 @@ # define WXMAKINGDLL_HTML # define WXMAKINGDLL_XML # define WXMAKINGDLL_XRC +# define WXMAKINGDLL_MEDIA #endif /* WXMAKINGDLL */ /* @@ -186,6 +187,14 @@ # define WXDLLIMPEXP_XRC #endif +#ifdef WXMAKINGDLL_MEDIA +# define WXDLLIMPEXP_MEDIA WXEXPORT +#elif defined(WXUSINGDLL) +# define WXDLLIMPEXP_MEDIA WXIMPORT +#else /* not making nor using DLL */ +# define WXDLLIMPEXP_MEDIA +#endif + /* for backwards compatibility, define suffix-less versions too */ #define WXDLLEXPORT WXDLLIMPEXP_CORE #define WXDLLEXPORT_DATA WXDLLIMPEXP_DATA_CORE