1
0
forked from mirrors/0ad

# Optimisations for Linux

GCC: Don't export symbols from DSOs by default - see
http://gcc.gnu.org/wiki/Visibility

This was SVN commit r4812.
This commit is contained in:
Ykkrosh
2007-01-26 18:26:45 +00:00
parent 5e7baf3a43
commit 3573c4a4e3
12 changed files with 46 additions and 11 deletions
+9
View File
@@ -72,6 +72,15 @@ bool DllLoader::LoadDLL()
return (m_Handle != HANDLE_UNAVAILABLE);
}
void DllLoader::Unload()
{
if (! IsLoaded())
return;
dlclose(m_Handle);
m_Handle = 0;
}
void DllLoader::LoadSymbolInternal(const char* name, void** fptr) const
{
if (! IsLoaded())