aboutsummaryrefslogtreecommitdiff
path: root/base/plugins.cpp
diff options
context:
space:
mode:
authorMax Horn2004-03-23 00:16:36 +0000
committerMax Horn2004-03-23 00:16:36 +0000
commit66de19015b7a263c4535d8341698eb9665033cbf (patch)
tree7290180df1b75ed55bc12d05c8ccfd555f2dcc29 /base/plugins.cpp
parentc61622ebaf24dbd8d7cdf2cab3fd20e514909c58 (diff)
downloadscummvm-rg350-66de19015b7a263c4535d8341698eb9665033cbf.tar.gz
scummvm-rg350-66de19015b7a263c4535d8341698eb9665033cbf.tar.bz2
scummvm-rg350-66de19015b7a263c4535d8341698eb9665033cbf.zip
With latest dlcompat on OSX, no need anymore to manually prepend an underscore before symbol names
svn-id: r13367
Diffstat (limited to 'base/plugins.cpp')
-rw-r--r--base/plugins.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/base/plugins.cpp b/base/plugins.cpp
index 549811ebf5..87ccc10c9f 100644
--- a/base/plugins.cpp
+++ b/base/plugins.cpp
@@ -124,13 +124,6 @@ public:
void *DynamicPlugin::findSymbol(const char *symbol) {
#ifdef UNIX
-#ifdef MACOSX
- // Need to prepend underscore on Mac OS X
- char buffer[256];
- buffer[0] = '_';
- strcpy(buffer + 1, symbol);
- symbol = buffer;
-#endif
void *func = dlsym(_dlHandle, symbol);
if (!func)
warning("Failed loading symbol '%s' from plugin '%s' (%s)", symbol, _filename.c_str(), dlerror());