# HG changeset patch # User fazekasgy # Date 1205325739 0 # Node ID 211ebe55d5213b6d7ba1b5780f1c23c48d815ab4 # Parent dc88002ce6873dbb21b9d6eac9335c8aafc946f4 added missing ifdef WIN32 diff -r dc88002ce687 -r 211ebe55d521 pyvamp-main.cpp --- a/pyvamp-main.cpp Tue Mar 11 20:24:58 2008 +0000 +++ b/pyvamp-main.cpp Wed Mar 12 12:42:19 2008 +0000 @@ -127,6 +127,7 @@ cerr << "Loading Python Interpreter at: " << pythonPath << endl; //Preloading the binary allows the load of shared libs //TODO: check how to do RTLD_NOW on Windows +#ifdef _WIN32 pylib = LoadLibrary(pythonPath.c_str()); #else pylib = dlopen(pythonPath.c_str(), RTLD_NOW|RTLD_GLOBAL);