]> OCCT Git - occt-wok.git/commitdiff
No comments
authorcas <cas@opencascade.com>
Tue, 31 Jul 2001 17:44:49 +0000 (17:44 +0000)
committercas <cas@opencascade.com>
Tue, 31 Jul 2001 17:44:49 +0000 (17:44 +0000)
src/WOKStep/WOKStep_CDLUnitSource.cxx
src/WOKStep/WOKStep_Include.cxx
src/WOKStep/WOKStep_MSFill.cxx
src/WOKStep/WOKStep_ProcessStep.cxx

index eb8266d45663486c5c0c1eec5d29a57b0428bf62..289a4cfdf9dd9a4ef3d56ddc2902dc5760af235c 100755 (executable)
@@ -3,25 +3,36 @@
 // Author:     Jean GAUTIER
 //             <jga@cobrax>
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 #ifndef DONT_COMPENSATE
 
 #include <stdio.h>
+
 #ifdef WNT
-#include <io.h>
-#else
-#include <unistd.h>
+# include <io.h>
+#endif  // WNT
+
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
 #endif
 
-#include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#include <time.h>
-
-#include <iostream.h>
 
+#if defined(HAVE_TIME_H) || defined(WNT)
+# include <time.h>
 #endif
 
+#include <iostream.h>
+#endif // DONT_COMPENSATE
+
 #include <TColStd_HSequenceOfHAsciiString.hxx>
 
 #include <WOKTools_Messages.hxx>
index aa3097fb7d68980c87fd37d8569a862675c486b1..b44bab818e5611aa5318746491663b972123338f 100755 (executable)
@@ -5,10 +5,16 @@
 
 #ifdef WNT
 # include <io.h>
-#else
-#include <unistd.h>
 #endif  // WNT
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
 #include <WOKTools_Messages.hxx>
 
 #include <WOKUtils_Param.hxx>
index 6565b66d5a8fbbbce23e02608a37a462c261e4ce..4b9ddb77f009c8e59b7607b95b56f4c0d42a254d 100755 (executable)
@@ -3,22 +3,37 @@
 // Author:     Jean GAUTIER
 //             <jga@cobrax>
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifndef DONT_COMPENSATE
 
 #include <stdio.h>
+
 #ifdef WNT
-#include <io.h>
-#else
-#include <unistd.h>
+# include <io.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
+#if defined(HAVE_SYS_TYPES_H) || defined(WNT)
+# include <sys/types.h>
+#endif
+
+#if defined(HAVE_SYS_STAT_H) || defined(WNT)
+# include <sys/stat.h>
 #endif
 
-#include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
-#include <time.h>
 
-#include <iostream.h>
+#if defined(HAVE_TIME_H) || defined(WNT)
+# include <time.h>
+#endif
 
+#include <iostream.h>
 #endif
 
 #include <WOKTools_Messages.hxx>
index ede2a2811607de9d8924f97892ae502bc7eb3652..dad2846986b6eb1b8f40de97d97eb6c85eaa2b5d 100755 (executable)
@@ -3,14 +3,19 @@
 // Author:     Jean GAUTIER
 //             <jga@hourax.paris1.matra-dtv.fr>
 
-
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 #ifdef WNT
 #include <io.h>
 #else
-#include <unistd.h>
+# include <fstream.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
 #endif
-#include <fstream.h>
 
 #include <TCollection_HAsciiString.hxx>
 
@@ -63,9 +68,9 @@
 #define CHECK_REMOTE 1
 #endif // WNT
 
-#ifdef LIN
+#ifdef HAVE_IOMANIP_H
 # include <iomanip.h>
-#endif  // LIN
+#endif
 
 //=======================================================================
 //function : WOKStep_ProcessStep