This commit is contained in:
Vassil Vassilev 2013-09-13 10:26:13 +02:00 committed by sftnight
parent b8adbb24b5
commit 408742eb71

View File

@ -1292,7 +1292,8 @@ namespace cling {
void* DyLibHandle = needs to be implemented!;
std::string errMsg;
#else
const void* DyLibHandle = dlopen(FoundDyLib.str().c_str(), RTLD_LAZY|RTLD_GLOBAL);
const void* DyLibHandle
= dlopen(FoundDyLib.str().c_str(), RTLD_LAZY|RTLD_GLOBAL);
std::string errMsg;
if (const char* DyLibError = dlerror()) {
errMsg = DyLibError;