]> 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/WOKOrbix/WOKOrbix_ExtractServerList.cxx
src/WOKOrbix/WOKOrbix_IDLCompile.cxx

index 7461f0d33da3cc1e1a291bb0cc32e59c0af1ec07..cf36940a6ac3ad35b751a9b24f381d9c3c80cc16 100755 (executable)
@@ -3,8 +3,10 @@
 // Author:     Jean GAUTIER
 //             <jga@hourax.paris1.matra-dtv.fr>
 
-
 #include <fstream.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 #include <WOKTools_Messages.hxx>
 
@@ -24,9 +26,9 @@
 
 #define READBUF_SIZE 1024
 
-#ifdef LIN
+#ifdef HAVE_IOMANIP_H
 # include <iomanip.h>
-#endif  // LIN
+#endif
 
 //=======================================================================
 //function : WOKOrbix_ExtractServerList
index bba783f9a4dd194dd85fa9756315bf2097411f42..d548efadc82791677dfa618a212715b474edeac5 100755 (executable)
@@ -2,13 +2,19 @@
 // Created:    Mon Aug 18 16:43:12 1997
 // 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>