changeset 20:812fbde7eca5

* Don't even try to preload on Windows
author cannam
date Tue, 14 Jul 2009 11:31:52 +0000
parents a54850da8229
children ef3452f4a0c9
files pyvamp-main.cpp
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pyvamp-main.cpp	Mon Jul 13 12:23:51 2009 +0000
+++ b/pyvamp-main.cpp	Tue Jul 14 11:31:52 2009 +0000
@@ -126,7 +126,10 @@
 
 static bool preloadPython()
 {
-    // useless on Windows
+#ifdef _WIN32
+    // this doesn't seem to be necessary at all on Windows
+    return true;
+#endif
 
     string pyver = Py_GetVersion();
     int dots = 2;