fix WXDLLIMPEXP_STC definition when building all wx libraries as DLLs (patch 1704527)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -87,6 +87,7 @@
|
||||
# define WXMAKINGDLL_AUI
|
||||
# define WXMAKINGDLL_RICHTEXT
|
||||
# define WXMAKINGDLL_MEDIA
|
||||
# define WXMAKINGDLL_STC
|
||||
#endif /* WXMAKINGDLL */
|
||||
|
||||
/*
|
||||
@@ -229,6 +230,14 @@
|
||||
# define WXDLLIMPEXP_MEDIA
|
||||
#endif
|
||||
|
||||
#ifdef WXMAKINGDLL_STC
|
||||
#define WXDLLIMPEXP_STC WXEXPORT
|
||||
#elif defined(WXUSINGDLL)
|
||||
#define WXDLLIMPEXP_STC WXIMPORT
|
||||
#else /* not making nor using DLL */
|
||||
#define WXDLLIMPEXP_STC
|
||||
#endif
|
||||
|
||||
/* for backwards compatibility, define suffix-less versions too */
|
||||
#define WXDLLEXPORT WXDLLIMPEXP_CORE
|
||||
#define WXDLLEXPORT_DATA WXDLLIMPEXP_DATA_CORE
|
||||
|
Reference in New Issue
Block a user