summaryrefslogtreecommitdiff
path: root/src/common/HPM.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-12-10 20:47:51 +0100
committerHaru <haru@dotalux.com>2013-12-17 01:02:19 +0100
commitefe4174e59dc462130fde872365e891a7c73654a (patch)
tree2d706c263f57c92db3b8137c5fde6a0c78912263 /src/common/HPM.h
parent4d13474b034f95f5be114aa5d3ef6ee59c8d8595 (diff)
downloadhercules-efe4174e59dc462130fde872365e891a7c73654a.tar.gz
hercules-efe4174e59dc462130fde872365e891a7c73654a.tar.bz2
hercules-efe4174e59dc462130fde872365e891a7c73654a.tar.xz
hercules-efe4174e59dc462130fde872365e891a7c73654a.zip
Changed plugin extension from .so to .dylib on OS X
- No functional changes. That's just the correct OS X file extension for dynamic libs. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/HPM.h')
-rw-r--r--src/common/HPM.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/HPM.h b/src/common/HPM.h
index 5466693ab..d5a5cbb6a 100644
--- a/src/common/HPM.h
+++ b/src/common/HPM.h
@@ -28,8 +28,10 @@
#define plugin_import(x,y,z) (z)dlsym((x),(y))
#define plugin_close(x) dlclose(x)
- #ifdef CYGWIN
+ #if defined CYGWIN
#define DLL_EXT ".dll"
+ #elif defined __DARWIN__
+ #define DLL_EXT ".dylib"
#else
#define DLL_EXT ".so"
#endif