X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff8fbb8dbe30fa6b47ad0ed9c581123bfaac3d9d..1ebd017e14fe820f790487702bf493fb0e772429:/include/wx/dlimpexp.h diff --git a/include/wx/dlimpexp.h b/include/wx/dlimpexp.h index 6bdfbf458b..2fd919bd81 100644 --- a/include/wx/dlimpexp.h +++ b/include/wx/dlimpexp.h @@ -48,6 +48,9 @@ # define WXEXPORT __declspec(export) # define WXIMPORT __declspec(import) # endif +#elif defined(__CYGWIN__) +# define WXEXPORT __declspec(dllexport) +# define WXIMPORT __declspec(dllimport) #endif /* for other platforms/compilers we don't anything */ @@ -80,6 +83,7 @@ # define WXMAKINGDLL_GL # define WXMAKINGDLL_XML # define WXMAKINGDLL_XRC +# define WXMAKINGDLL_AUI # define WXMAKINGDLL_MEDIA #endif /* WXMAKINGDLL */ @@ -199,6 +203,14 @@ # define WXDLLIMPEXP_XRC #endif +#ifdef WXMAKINGDLL_AUI +# define WXDLLIMPEXP_AUI WXEXPORT +#elif defined(WXUSINGDLL) +# define WXDLLIMPEXP_AUI WXIMPORT +#else /* not making nor using DLL */ +# define WXDLLIMPEXP_AUI +#endif + #ifdef WXMAKINGDLL_MEDIA # define WXDLLIMPEXP_MEDIA WXEXPORT #elif defined(WXUSINGDLL)