]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
windows not implemented
authoradam <adam>
Fri, 2 Oct 2009 15:15:38 +0000 (15:15 +0000)
committeradam <adam>
Fri, 2 Oct 2009 15:15:38 +0000 (15:15 +0000)
src/DSC/DSC_Basic/DSC_interface.cxx

index 8cef59b0a0dd98a09b1280262ccf3083d3ea9268..3c15326a6d1e05eddf3f446677c3911ed67c96a8 100644 (file)
 //
 #include <string>
 #include "DSC_interface.hxx"
+#ifdef WNT
+#else
 #include <sys/time.h>
+#endif
 #include <fstream>
 #include <sys/stat.h>
 #include <sstream>
@@ -499,6 +502,8 @@ void Engines_DSC_interface::writeEvent(const char* request,const std::string& co
     initTrace(containerName);
   if(traceLevel == 0)return;
 
+#ifdef WNT
+#else
   struct timeval tv;
   gettimeofday(&tv,0);
   long tt0=tv.tv_sec/3600; //hours
@@ -564,5 +569,6 @@ void Engines_DSC_interface::writeEvent(const char* request,const std::string& co
       *out << message ;
       *out << std::endl;
     }
+#endif
 }