Fix for mingw compiler
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 11 Jul 2013 17:04:39 +0000 (13:04 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 11 Jul 2013 17:04:39 +0000 (13:04 -0400)
libs/rubberband/src/main.cpp

index 1c806961800c74afb84ad4538acd48aaeef701c3..178685300b2d0c634ec44d3ed81f3b2c9509d50a 100644 (file)
@@ -495,7 +495,11 @@ int main(int argc, char **argv)
             }
             delete[] obf;
         } else {
+#ifdef WIN32
+            RubberBand::usleep(10000);
+#else
             usleep(10000);
+#endif
         }
     }