diff system/System.cpp @ 1176:a6929fb9cc77

Win32 build fix
author Chris Cannam
date Fri, 18 Mar 2016 15:30:28 +0000
parents 4607603c46d0
children e5a1d815f331
line wrap: on
line diff
--- a/system/System.cpp	Fri Mar 18 13:42:54 2016 +0000
+++ b/system/System.cpp	Fri Mar 18 15:30:28 2016 +0000
@@ -325,7 +325,17 @@
 double princarg(double a) { return mod(a + M_PI, -2 * M_PI) + M_PI; }
 float princargf(float a) { return float(princarg(a)); }
 
-#ifndef _WIN32
+#ifdef _WIN32
+
+PluginLoadStatus
+TestPluginLoadability(QString soname, QString descriptorFn)
+{
+    //!!! Can't do the POSIX logic below, but we have no good
+    // alternative here yet
+    return PluginLoadOK;
+}
+
+#else
 
 #include <unistd.h>
 #include <sys/wait.h>