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

index 93676e9ba50539f0e294c28318baa194be91279d..1f7068c4623a0cf2142a645681c8b94ddf247e3c 100755 (executable)
@@ -6,7 +6,11 @@
 # include <strstream.h>
 #endif
 
-#include <fstream.h>
+#ifdef HAVE_FSTREAM
+# include <fstream>
+#elif defined (HAVE_FSTREAM_H)
+# include <fstream.h>
+#endif
 
 #include <Standard_ProgramError.hxx>
 #include <Standard_ErrorHandler.hxx>
index 9d39c2b9805cbb71592f659976041a6030e4095f..9d371bfe9ce8fc175549634b486ec9568dc66f8a 100755 (executable)
@@ -3,11 +3,16 @@
 // 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 <WOKernel_Factory.ixx>
 
 #include <WOKernel_Workshop.hxx>
@@ -23,7 +28,9 @@
 
 #include <TColStd_HSequenceOfHAsciiString.hxx>
 
-#ifdef HAVE_IOMANIP_H
+#ifdef HAVE_IOMANIP
+# include <iomanip>
+#elif defined (HAVE_IOMANIP_H)
 # include <iomanip.h>
 #endif
 
index 36e44e39e086805b11f6ed68a164da8a67bccf38..cd067e387942da42010cb3b13141f1cc1ecf5f37 100755 (executable)
@@ -3,11 +3,16 @@
 // 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 <Standard_ProgramError.hxx>
 
 #include <TCollection_HAsciiString.hxx>
@@ -27,7 +32,9 @@
 
 #include <WOKernel_Parcel.ixx>
 
-#ifdef HAVE_IOMANIP_H
+#ifdef HAVE_IOMANIP
+# include <iomanip>
+#elif defined (HAVE_IOMANIP_H)
 # include <iomanip.h>
 #endif
 
index 86fafb0716a7c46409d4ebb791fe3d24d0d18d5a..23b932efbb0048f46411c356d80cd4b450ac1d01 100755 (executable)
@@ -3,11 +3,17 @@
 // 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 <WOKernel_Session.ixx>
 
 #include <WOKernel_Factory.hxx>
@@ -36,7 +42,9 @@
 #include <TColStd_HSequenceOfHAsciiString.hxx>
 #include <TColStd_HSequenceOfAsciiString.hxx>
 
-#ifdef HAVE_IOMANIP_H
+#ifdef HAVE_IOMANIP
+# include <iomanip>
+#elif defined (HAVE_IOMANIP_H)
 # include <iomanip.h>
 #endif
 
index 208dbf798cb8ab33def4974a232fbf4486b96d24..1b6f70be3f497c3820fb7242674f473f523b6b9e 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>
 #include <TColStd_HSequenceOfHAsciiString.hxx>
index 0e420d5f0ddafb23766ce9ea0d13ad0635858faa..2c6009b28510db8004d5153a21c5915ca525d052 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 3890aa8fabb9f72cee705b995f7410c35b67b100..4c62f936112e8c8d9f79e1ed199af9b7e173ee74 100755 (executable)
@@ -3,11 +3,16 @@
 // 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 <WOKernel_Workbench.ixx>
 
 #include <WOKernel_Session.hxx>
@@ -26,7 +31,9 @@
 #include <TColStd_HSequenceOfHAsciiString.hxx>
 #include <TColStd_HSequenceOfAsciiString.hxx>
 
-#ifdef HAVE_IOMANIP_H
+#ifdef HAVE_IOMANIP
+# include <iomanip>
+#elif defined (HAVE_IOMANIP_H)
 # include <iomanip.h>
 #endif
 
index f00ae11f1c4317fcbca36da32f3170a764409a36..acf4f25ce8b7ebc55dc11f7bd583972307012e16 100755 (executable)
@@ -3,7 +3,16 @@
 // 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 <WOKernel_Workshop.ixx>