Windows has no sleep command

This commit is contained in:
Dave Goodwin 2006-05-03 20:49:22 +00:00
parent bb19de47bc
commit 0cd3336f32

View file

@ -109,6 +109,7 @@ namespace ctml {
#ifdef DEBUG_PATHS
writelog("sleeping for " + sss + " secs+\n");
#endif
#ifndef WIN32
cmd = "sleep " + sss;
try {
ierr = system(cmd.c_str());
@ -116,7 +117,7 @@ namespace ctml {
catch (...) {
ierr = -10;
}
#endif
// show the contents of the log file on the screen
try {
char ch=0;