]> OCCT Git - occt-wok.git/commitdiff
No comments
authorcas <cas@opencascade.com>
Tue, 29 Feb 2000 18:18:59 +0000 (18:18 +0000)
committercas <cas@opencascade.com>
Tue, 29 Feb 2000 18:18:59 +0000 (18:18 +0000)
src/WOKStep/WOKStep_Compile.cxx
src/WOKStep/WOKStep_Include.cxx

index cf6190d218d094ee66ffc413a949723db76a82d2..b0a898469ea06121fdb5606d74d8d40e760c4cb4 100755 (executable)
@@ -317,6 +317,14 @@ _TEST_BREAK();
  if (  g_fCompOrLnk && !str -> IsEmpty ()  ) {
 
   Handle( TCollection_HAsciiString ) s = new TCollection_HAsciiString (  Unit () -> Name ()  );
+
+  if (  !SubCode ().IsNull ()  ) {
+
+   s -> AssignCat ( "_"          );
+   s -> AssignCat (  SubCode ()  );
+
+  }  // end if
+
   s -> AssignCat ( ".comp" );
   Handle( WOKernel_File ) stadm = new WOKernel_File (
                                        s, Unit (), Unit () ->
index 160506a9dead25ce6a0cd9c68e936087c1479604..89c695ed74934beac997b106a0a0ea5c8296ec84 100755 (executable)
@@ -6,8 +6,8 @@
 #ifdef WNT
 # include <io.h>
 #else
-#endif  // WNT
 #include <unistd.h>
+#endif  // WNT
 
 #include <WOKTools_Messages.hxx>