]> OCCT Git - occt-wok.git/commitdiff
No comments
authorcas <cas@opencascade.com>
Fri, 1 Mar 2002 18:12:25 +0000 (18:12 +0000)
committercas <cas@opencascade.com>
Fri, 1 Mar 2002 18:12:25 +0000 (18:12 +0000)
src/WOKStep/WOKStep_CDLUnitSource.cxx
src/WOKStep/WOKStep_Compile.cxx
src/WOKStep/WOKStep_EngLDFile.cxx
src/WOKStep/WOKStep_MSFill.cxx
src/WOKStep/WOKStep_ProcessStep.cxx
src/WOKStep/WOKStep_WNTK.cxx

index 289a4cfdf9dd9a4ef3d56ddc2902dc5760af235c..10d8eed5aee9f4c197c0ae2385b88e6678284738 100755 (executable)
 # include <sys/types.h>
 #endif
 
-#include <sys/stat.h>
+#if defined (HAVE_SYS_STAT_H) || defined (WNT)
+# include <sys/stat.h>
+#endif
 #include <fcntl.h>
 
 #if defined(HAVE_TIME_H) || defined(WNT)
 # include <time.h>
 #endif
 
-#include <iostream.h>
+#ifdef HAVE_IOSTREAM
+# include <iostream>
+#elif defined (HAVE_IOSTREAM_H)
+# include <iostream.h>
+#endif
 #endif // DONT_COMPENSATE
 
 #include <TColStd_HSequenceOfHAsciiString.hxx>
index ce13e3c986c83b09ff32dc1aa1be0c795638f519..0e2c935e9539d04f427485b7bb3e27488d3f28b5 100755 (executable)
@@ -3,7 +3,15 @@
 // Author:     Jean GAUTIER
 //             <jga@cobrax>
 
-#include <fstream.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#ifdef HAVE_FSTREAM
+# include <fstream>
+#elif defined (HAVE_FSTREAM_H)
+# include <fstream.h>
+#endif
 
 #include <TCollection_HAsciiString.hxx>
 
index e72d2822ec94985fcfe48d2aa7152805a18ae7af..c81d8716ff5ff8c148085d716cc22bdfa31f73be 100755 (executable)
@@ -3,7 +3,15 @@
 // Author:     Jean GAUTIER
 //             <jga@cobrax.paris1.matra-dtv.fr>
 
-#include <fstream.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#ifdef HAVE_FSTREAM
+# include <fstream>
+#elif defined (HAVE_FSTREAM_H)
+# include <fstream.h>
+#endif
 
 #include <TColStd_HSequenceOfHAsciiString.hxx>
 #include <WOKTools_Messages.hxx>
index 4b9ddb77f009c8e59b7607b95b56f4c0d42a254d..83e14c05be866e6dfa77e51cfd6c3c5a9430d4a8 100755 (executable)
 #if defined(HAVE_TIME_H) || defined(WNT)
 # include <time.h>
 #endif
+#ifdef HAVE_IOSTREAM
+# include <iostream>
+#elif defined (HAVE_IOSTREAM_H)
+# include <iostream.h>
+#endif
 
-#include <iostream.h>
+// endif DONT_COMPENSATE
 #endif
+//
 
 #include <WOKTools_Messages.hxx>
 #include <WOKUtils_Path.hxx>
index dad2846986b6eb1b8f40de97d97eb6c85eaa2b5d..c0e1f541151e961b6a961b2fd7ef0316513ab1eb 100755 (executable)
@@ -9,7 +9,11 @@
 
 #ifdef WNT
 #include <io.h>
-#else
+#endif
+
+#ifdef HAVE_FSTREAM
+# include <fstream>
+#elif defined (HAVE_FSTREAM_H)
 # include <fstream.h>
 #endif
 
index a31856e517c7c44673e0ee59861ac06565c44c34..1f99af12cf5fc7f62b774e9631344265eff709b4 100755 (executable)
 
 #include <TColStd_HSequenceOfHAsciiString.hxx>
 
-#include <stdlib.h>
-#include <fstream.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#ifdef HAVE_FSTREAM
+# include <fstream>
+#elif defined (HAVE_FSTREAM_H)
+# include <fstream.h>
+#endif
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
 
 #ifdef WNT
 # include <WOKNT_WNT_BREAK.hxx>