]> git.saurik.com Git - wxWidgets.git/commitdiff
WXIMPORT must specify default visibility too, otherwise things like typeinfo may...
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 6 Aug 2007 14:53:24 +0000 (14:53 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 6 Aug 2007 14:53:24 +0000 (14:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dlimpexp.h

index e2baeb9f04f249b58f01ab70d2abf588714e22b5..9160ad84c766baed19ad8393c84538120294a067 100644 (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 */