Mercurial > hg > vampy
diff vampy-main.cpp @ 34:c905122f79e7 vampy2
* Fixes from OpenSolaris build
author | cannam |
---|---|
date | Wed, 23 Sep 2009 12:07:32 +0000 |
parents | 4f1894c7591b |
children |
line wrap: on
line diff
--- a/vampy-main.cpp Wed Sep 23 11:56:46 2009 +0000 +++ b/vampy-main.cpp Wed Sep 23 12:07:32 2009 +0000 @@ -78,21 +78,17 @@ static bool tryPreload(string name) { - cerr << "Trying to load Python interpreter library \"" << name << "\"..."; #ifdef _WIN32 void *lib = LoadLibrary(name.c_str()); if (!lib) { - cerr << " failed" << endl; return false; } #else void *lib = dlopen(name.c_str(), RTLD_NOW | RTLD_GLOBAL); if (!lib) { - cerr << " failed" << endl; return false; } #endif - cerr << " succeeded" << endl; return true; }