Add windows equivalent of hack in timefx
[ardour.git] / gtk2_ardour / editor_timefx.cc
index 2f0b09ed17a36f4d22b3990c30b6a47f027e1a9c..e43dae9e2b4cf2efe3f6e4fed88f0453300ccb84 100644 (file)
@@ -402,9 +402,12 @@ Editor::timefx_thread (void *arg)
            by the GUI ...
         */
 
+#ifdef WIN32
+       Sleep(2000);
+#else
         struct timespec t = { 2, 0 };
         nanosleep (&t, 0);
-
+#endif
        return 0;
 }