From 0cd3336f3251db8ef158ac4d51defe398631825c Mon Sep 17 00:00:00 2001 From: Dave Goodwin Date: Wed, 3 May 2006 20:49:22 +0000 Subject: [PATCH] Windows has no sleep command --- Cantera/src/ct2ctml.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cantera/src/ct2ctml.cpp b/Cantera/src/ct2ctml.cpp index c183d8ae5..6bdfb658a 100644 --- a/Cantera/src/ct2ctml.cpp +++ b/Cantera/src/ct2ctml.cpp @@ -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;