WXIMPORT must specify default visibility too, otherwise things like typeinfo may break subtly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-08-06 14:53:24 +00:00
parent 1a2fe0cbea
commit 5e3c3fc9b8

View File

@@ -53,7 +53,7 @@
# define WXIMPORT __declspec(dllimport)
#elif defined(HAVE_VISIBILITY)
# define WXEXPORT __attribute__ ((visibility("default")))
# define WXIMPORT
# define WXIMPORT __attribute__ ((visibility("default")))
#endif
/* for other platforms/compilers we don't anything */