Fix up sleep.
[dcpomatic.git] / src / tools / makedcp.cc
index 9d2088ca33d26f3864c5378819f47b620777b66c..5684cac20934a8814cd41ba93b64aad071d87faf 100644 (file)
@@ -137,13 +137,7 @@ main (int argc, char* argv[])
        bool first = true;
        while (!all_done) {
 
-#ifdef DVDOMATIC_POSIX         
-               sleep (5);
-#endif
-
-#ifdef DVDOMATIC_WINDOWS
-               /* XXX */
-#endif         
+               dvdomatic_sleep (5);
 
                if (!first && progress) {
                        cout << "\033[" << jobs.size() << "A";