changeset 2:211ebe55d521

added missing ifdef WIN32
author fazekasgy
date Wed, 12 Mar 2008 12:42:19 +0000
parents dc88002ce687
children 134313c59d82
files pyvamp-main.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);