From: cas Date: Thu, 6 Jan 2000 17:56:55 +0000 (+0000) Subject: No comments X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=337c8ebcef22a2a17f6650654401db13646eaf2f;p=occt-wok.git No comments --- diff --git a/src/WOKStep/WOKStep_CDLUnitSource.cxx b/src/WOKStep/WOKStep_CDLUnitSource.cxx index ca76dbf..eb8266d 100755 --- a/src/WOKStep/WOKStep_CDLUnitSource.cxx +++ b/src/WOKStep/WOKStep_CDLUnitSource.cxx @@ -7,7 +7,11 @@ #ifndef DONT_COMPENSATE #include +#ifdef WNT +#include +#else #include +#endif #include #include diff --git a/src/WOKStep/WOKStep_Compile.cxx b/src/WOKStep/WOKStep_Compile.cxx index ba0a561..919b146 100755 --- a/src/WOKStep/WOKStep_Compile.cxx +++ b/src/WOKStep/WOKStep_Compile.cxx @@ -3,7 +3,11 @@ // Author: Jean GAUTIER // +#ifdef WNT +#include +#else #include +#endif #include #include diff --git a/src/WOKStep/WOKStep_Include.cxx b/src/WOKStep/WOKStep_Include.cxx index 0106c2b..a161bd9 100755 --- a/src/WOKStep/WOKStep_Include.cxx +++ b/src/WOKStep/WOKStep_Include.cxx @@ -3,7 +3,11 @@ // Author: Jean GAUTIER // +#ifdef WNT +#include +#else #include +#endif #include diff --git a/src/WOKStep/WOKStep_JiniExtract.cxx b/src/WOKStep/WOKStep_JiniExtract.cxx index 4259b3e..0271ef1 100755 --- a/src/WOKStep/WOKStep_JiniExtract.cxx +++ b/src/WOKStep/WOKStep_JiniExtract.cxx @@ -314,7 +314,11 @@ void WOKStep_JiniExtract::Execute(const Handle(WOKMake_HSequenceOfInputFile)& to outfile = new WOKernel_File(outent->Path()->FileName(), Unit(), sourcetype); istemplate = Standard_True; break; +#ifdef WNT + case WOKNT_UnknownFile: +#else case WOKUnix_UnknownFile: +#endif if (!strcmp(outent->Path()->ExtensionName()->ToCString(),".java")) { outfile = new WOKernel_File(outent->Path()->FileName(), Unit(), privincludetype); } diff --git a/src/WOKStep/WOKStep_MSFill.cxx b/src/WOKStep/WOKStep_MSFill.cxx index 7c3dea7..6565b66 100755 --- a/src/WOKStep/WOKStep_MSFill.cxx +++ b/src/WOKStep/WOKStep_MSFill.cxx @@ -6,7 +6,11 @@ #ifndef DONT_COMPENSATE #include +#ifdef WNT +#include +#else #include +#endif #include #include diff --git a/src/WOKStep/WOKStep_ProcessStep.cxx b/src/WOKStep/WOKStep_ProcessStep.cxx index 4360595..46b5a7c 100755 --- a/src/WOKStep/WOKStep_ProcessStep.cxx +++ b/src/WOKStep/WOKStep_ProcessStep.cxx @@ -5,7 +5,11 @@ +#ifdef WNT +#include +#else #include +#endif #include #include diff --git a/src/WOKStep/WOKStep_WNTLink.cxx b/src/WOKStep/WOKStep_WNTLink.cxx index a721bf4..342ba1a 100755 --- a/src/WOKStep/WOKStep_WNTLink.cxx +++ b/src/WOKStep/WOKStep_WNTLink.cxx @@ -246,13 +246,13 @@ void WOKStep_WNTLink::Execute(const Handle(WOKMake_HSequenceOfInputFile)& anExec stubName = Unit()->Params().Eval(WOKernel_IsToolkit(Unit()) ? "%STUBS_tkMain" : "%STUBS_uMain"); dwLen = ExpandEnvironmentStrings(stubName->ToCString(), NULL, 0); - char* buffer = (char *) aStorageManager.Allocate(dwLen+1); + char* buffer = (char *) Standard::Allocate(dwLen+1); memset(buffer, 0, dwLen+1); ExpandEnvironmentStrings(stubName->ToCString(), buffer, dwLen); buff = new TCollection_HAsciiString(buffer); - aStorageManager.Free((void*&)buffer,dwLen+1); + Standard::Free((void*&)buffer,dwLen+1); seq->Append(buff); } @@ -261,13 +261,13 @@ void WOKStep_WNTLink::Execute(const Handle(WOKMake_HSequenceOfInputFile)& anExec dwLen = ExpandEnvironmentStrings(stubName->ToCString(), NULL, 0); - char* buffer = (char *) aStorageManager.Allocate(dwLen+1); + char* buffer = (char *) Standard::Allocate(dwLen+1); memset(buffer, 0, dwLen+1); ExpandEnvironmentStrings(stubName->ToCString(), buffer, dwLen); buff = new TCollection_HAsciiString(buffer); - aStorageManager.Free((void*&)buffer,dwLen+1); + Standard::Free((void*&)buffer,dwLen+1); seq->Append(buff);