aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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());