]> 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/WOKernel/WOKernel_DevUnit.cxx
src/WOKernel/WOKernel_Factory.cxx
src/WOKernel/WOKernel_Locator.cxx
src/WOKernel/WOKernel_Parcel.cxx
src/WOKernel/WOKernel_Session.cxx
src/WOKernel/WOKernel_Workbench.cxx

index a1bec72a1cc261535bafa50d1091b1c837bc19cd..93676e9ba50539f0e294c28318baa194be91279d 100755 (executable)
@@ -1,6 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
-#ifndef WNT
-#include <strstream.h>
+#ifdef HAVE_STRSTREAM_H
+# include <strstream.h>
 #endif
 
 #include <fstream.h>
@@ -44,9 +47,9 @@
 #define WOK_DEPCOMPAT 1
 #endif
 
-#ifdef LIN
+#ifdef HAVE_IOMANIP_H
 # include <iomanip.h>
-#endif  // LIN
+#endif
 
 //=======================================================================
 //function : WOKernel_DevUnit
index 351bae8022bd24550a6a6796c4e66ca42811bfd6..9d39c2b9805cbb71592f659976041a6030e4095f 100755 (executable)
@@ -4,6 +4,9 @@
 //             <jga@cobrax>
 
 #include <fstream.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 #include <WOKernel_Factory.ixx>
 
@@ -20,9 +23,9 @@
 
 #include <TColStd_HSequenceOfHAsciiString.hxx>
 
-#ifdef LIN
+#ifdef HAVE_IOMANIP_H
 # include <iomanip.h>
-#endif  // LIN
+#endif
 
 //=======================================================================
 //function : WOKernel_Factory
index 580ac2da470ed91af6ac382b10eef41bf665c7d8..db6805dc5714ac19310a5fcddbf924fa7f66a8a2 100755 (executable)
@@ -3,8 +3,8 @@
 // Author:     Jean GAUTIER
 //             <jga@cobrax>
 
-#ifndef WNT
-#include <unistd.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
 #endif
 
 #include <WOKTools_Messages.hxx>
 #include <WOKernel_Locator.ixx>
 
 #ifdef WNT
-#include <windows.h>
+# include <windows.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
 #endif
 
 //---> EUG4JR
index dba4a5c70fb3ec614f8bacbfbb29d6e84988f554..36e44e39e086805b11f6ed68a164da8a67bccf38 100755 (executable)
@@ -4,6 +4,9 @@
 //             <jga@cobrax>
 
 #include <fstream.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 #include <Standard_ProgramError.hxx>
 
@@ -24,9 +27,9 @@
 
 #include <WOKernel_Parcel.ixx>
 
-#ifdef LIN
+#ifdef HAVE_IOMANIP_H
 # include <iomanip.h>
-#endif  // LIN
+#endif
 
 //=======================================================================
 //function : WOKernel_Parcel
index d1dff6ad2f23ea6d3750828b7107412049cc7f0d..86fafb0716a7c46409d4ebb791fe3d24d0d18d5a 100755 (executable)
@@ -4,6 +4,9 @@
 //             <jga@cobrax>
 
 #include <fstream.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 #include <WOKernel_Session.ixx>
 
@@ -33,9 +36,9 @@
 #include <TColStd_HSequenceOfHAsciiString.hxx>
 #include <TColStd_HSequenceOfAsciiString.hxx>
 
-#ifdef LIN
+#ifdef HAVE_IOMANIP_H
 # include <iomanip.h>
-#endif  // LIN
+#endif
 
 //=======================================================================
 //function : WOKernel_Session
index 0aeb9f70628fa6decd0b4338d3f34a1e45bdbc1a..3890aa8fabb9f72cee705b995f7410c35b67b100 100755 (executable)
@@ -4,7 +4,10 @@
 //             <jga@cobrax>
 
 #include <fstream.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include <WOKernel_Workbench.ixx>
 
 #include <WOKernel_Session.hxx>
@@ -23,9 +26,9 @@
 #include <TColStd_HSequenceOfHAsciiString.hxx>
 #include <TColStd_HSequenceOfAsciiString.hxx>
 
-#ifdef LIN
+#ifdef HAVE_IOMANIP_H
 # include <iomanip.h>
-#endif  // LIN
+#endif
 
 //=======================================================================
 //function : WOKernel_Workbench