From: Stefan Neis Date: Wed, 19 Jan 2005 21:41:11 +0000 (+0000) Subject: Compilation fix for OS/2. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fd6c94288f31c06d4ad3c7d7ab17ed2e32b16b33 Compilation fix for OS/2. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index c8d7e85e18..70287c0b19 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -243,7 +243,11 @@ public: static void *RawGetSymbol(wxDllType handle, const wxString& name); void *RawGetSymbol(const wxString& name) const { +#if defined (__WXPM__) || defined(__EMX__) + return GetSymbol(name); +#else return RawGetSymbol(m_handle, name); +#endif } // return all modules/shared libraries in the address space of this process