From 9799f356dec278659780242e51dda4d908af8a97 Mon Sep 17 00:00:00 2001 From: Tigran Gasparian Date: Fri, 31 Aug 2018 15:35:35 +0200 Subject: [PATCH] . --- examples/SharedMemory/b3PluginManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/SharedMemory/b3PluginManager.cpp b/examples/SharedMemory/b3PluginManager.cpp index 9e61e1859..cd50f9883 100644 --- a/examples/SharedMemory/b3PluginManager.cpp +++ b/examples/SharedMemory/b3PluginManager.cpp @@ -22,9 +22,9 @@ typedef void* B3_DYNLIB_HANDLE; #ifdef __APPLE__ - #define B3_DYNLIB_OPEN(path) dlmopen(LM_ID_NEWLM, path, RTLD_LAZY) -#else #define B3_DYNLIB_OPEN(path) dlopen(path, RTLD_NOW | RTLD_GLOBAL) +#else + #define B3_DYNLIB_OPEN(path) dlmopen(LM_ID_NEWLM, path, RTLD_LAZY) #endif #define B3_DYNLIB_CLOSE dlclose #define B3_DYNLIB_IMPORT dlsym