changeset 1176:a6929fb9cc77

Win32 build fix
author Chris Cannam
date Fri, 18 Mar 2016 15:30:28 +0000
parents 0ad516dc5d8d
children 79f7af8873c9
files system/System.cpp
diffstat 1 files changed, 11 insertions(+), 1 deletions(-) [+]
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>