comparison system/System.cpp @ 1176:a6929fb9cc77

Win32 build fix
author Chris Cannam
date Fri, 18 Mar 2016 15:30:28 +0000
parents 4607603c46d0
children e5a1d815f331
comparison
equal deleted inserted replaced
1174:0ad516dc5d8d 1176:a6929fb9cc77
323 float modf(float x, float y) { return x - (y * floorf(x / y)); } 323 float modf(float x, float y) { return x - (y * floorf(x / y)); }
324 324
325 double princarg(double a) { return mod(a + M_PI, -2 * M_PI) + M_PI; } 325 double princarg(double a) { return mod(a + M_PI, -2 * M_PI) + M_PI; }
326 float princargf(float a) { return float(princarg(a)); } 326 float princargf(float a) { return float(princarg(a)); }
327 327
328 #ifndef _WIN32 328 #ifdef _WIN32
329
330 PluginLoadStatus
331 TestPluginLoadability(QString soname, QString descriptorFn)
332 {
333 //!!! Can't do the POSIX logic below, but we have no good
334 // alternative here yet
335 return PluginLoadOK;
336 }
337
338 #else
329 339
330 #include <unistd.h> 340 #include <unistd.h>
331 #include <sys/wait.h> 341 #include <sys/wait.h>
332 342
333 PluginLoadStatus 343 PluginLoadStatus