comparison vampy-main.cpp @ 56:b2c4c752c3bc

* whoops, remove perror() (these are expected to fail)
author cannam
date Fri, 09 Oct 2009 14:25:35 +0000
parents 968258fba5d6
children 577b251cad2f
comparison
equal deleted inserted replaced
55:968258fba5d6 56:b2c4c752c3bc
215 return false; 215 return false;
216 } 216 }
217 #else 217 #else
218 void *lib = dlopen(name.c_str(), RTLD_NOW | RTLD_GLOBAL); 218 void *lib = dlopen(name.c_str(), RTLD_NOW | RTLD_GLOBAL);
219 if (!lib) { 219 if (!lib) {
220 perror("dlopen"); 220 //perror("dlopen");
221 return false; 221 return false;
222 } 222 }
223 #endif 223 #endif
224 cerr << "Preloaded Python from " << name << endl; 224 cerr << "Preloaded Python from " << name << endl;
225 return true; 225 return true;