From: Stefan Csomor Date: Sat, 27 Mar 2004 05:36:20 +0000 (+0000) Subject: export var that is sought for afterwards from shared lib X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3fd35d583b38ce2e1c18a690bfb5bd0063b1693b export var that is sought for afterwards from shared lib git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp index 613c323b92..f66548a217 100644 --- a/src/mac/carbon/app.cpp +++ b/src/mac/carbon/app.cpp @@ -791,7 +791,7 @@ void wxApp::CleanUp() // extern variable for shared library resource id // need to be able to find it with NSLookupAndBindSymbol -short gSharedLibraryResource = kResFileNotOpened ; +short WXDLLEXPORT gSharedLibraryResource = kResFileNotOpened ; #if defined(WXMAKINGDLL_CORE) && defined(__DARWIN__) CFBundleRef gSharedLibraryBundle = NULL;