]> OCCT Git - occt-wok.git/commitdiff
No comments
authorcas <cas@opencascade.com>
Mon, 13 Nov 2000 18:20:56 +0000 (18:20 +0000)
committercas <cas@opencascade.com>
Mon, 13 Nov 2000 18:20:56 +0000 (18:20 +0000)
33 files changed:
src/WOKUnix/WOKUnix.cxx
src/WOKUnix/WOKUnix_ASyncStatus.cxx
src/WOKUnix/WOKUnix_AdmFile.cxx
src/WOKUnix/WOKUnix_Buffer.cxx
src/WOKUnix/WOKUnix_CantBlockBuffer.cxx
src/WOKUnix/WOKUnix_Dir.hxx
src/WOKUnix/WOKUnix_DirEnt.hxx
src/WOKUnix/WOKUnix_DumbOutput.cxx
src/WOKUnix/WOKUnix_DumpScript.cxx
src/WOKUnix/WOKUnix_FDSet.hxx
src/WOKUnix/WOKUnix_FDescr.cxx
src/WOKUnix/WOKUnix_FileBuffer.cxx
src/WOKUnix/WOKUnix_MaxPipeSize.hxx
src/WOKUnix/WOKUnix_MixedOutput.cxx
src/WOKUnix/WOKUnix_NoBuffer.cxx
src/WOKUnix/WOKUnix_OutErrOutput.cxx
src/WOKUnix/WOKUnix_Path.cxx
src/WOKUnix/WOKUnix_Path.lxx
src/WOKUnix/WOKUnix_PathIterator.cxx
src/WOKUnix/WOKUnix_Process.cxx
src/WOKUnix/WOKUnix_ProcessManager.cxx
src/WOKUnix/WOKUnix_ProcessOutput.cxx
src/WOKUnix/WOKUnix_RegExp.cxx
src/WOKUnix/WOKUnix_RemoteShell.cxx
src/WOKUnix/WOKUnix_Shell.cxx
src/WOKUnix/WOKUnix_ShellManager.cxx
src/WOKUnix/WOKUnix_ShellStatus.cxx
src/WOKUnix/WOKUnix_SigHandler.hxx
src/WOKUnix/WOKUnix_Signal.cxx
src/WOKUnix/WOKUnix_StatBuf.hxx
src/WOKUnix/WOKUnix_SyncStatus.cxx
src/WOKUnix/WOKUnix_TimeStat.hxx
src/WOKUnix/WOKUnix_Timeval.hxx

index 43cd18e6d4d711fa843269034b7fd3ad0d595bc0..63ac9630e1ef270e870ac00818bb4645bfe8452c 100755 (executable)
@@ -1,4 +1,4 @@
-
+#ifndef WNT
 
 #include <WOKUnix.ixx>
 
@@ -24,3 +24,4 @@ Standard_CString WOKUnix::LastSystemMessage()
   return strerror(SystemLastError());
 }
 
+#endif
index 97e45d390d87d388c59d6b1f4afc14fae9013f29..f04bb684deead79629b8e8244a2ef9b73846ea9f 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 
 #include <WOKTools_Messages.hxx>
 #include <TCollection_HAsciiString.hxx>
@@ -84,3 +85,4 @@ void WOKUnix_ASyncStatus::Reset(const Handle(WOKUnix_Shell)& ashell)
    return;
 }
 
+#endif
index b9dbb45c7b89bec5bb36e8dc03b7e17e7c4adf62..a8a35d536312e3190854d9d60f4f6d77b91a2bca 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 
 #include <fstream.h>
 
@@ -101,3 +102,4 @@ Handle(TColStd_HSequenceOfHAsciiString) WOKUnix_AdmFile::Read()
   return aresult;
 }
 
+#endif
index 8750cc6c94a1596cafce76df020baecf0243ed89..1dec08559d128a8ad5922312858e85337b51ed96 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 
 #include <WOKUnix_Buffer.ixx>
 
@@ -179,3 +180,4 @@ void WOKUnix_Buffer::Close()
 {
   if(myfd.FileNo() >= 0) myfd.Close();
 }
+#endif
index ff51117a1134e4897b66165eb80e31022ea65a92..bd24f21d49fd28c444743bd3e1be0745bae5d928 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 
 
 #include <WOKUnix_CantBlockBuffer.ixx>
@@ -44,3 +45,4 @@ void WOKUnix_CantBlockBuffer::Close()
   if(mybuffer.FileNo() >= 0) mybuffer.Close();
   WOKUnix_Buffer::Close();
 }
+#endif
index 2225f6ed05ea5a059daf5ca1e0290f4acc88d0c6..973f5cf8107f053dd7d737f0c14ec9ac7c69bff4 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 // File:       WOKUnix_Dir.hxx
 // Author:     Jean GAUTIER
 //             <jga@cobrax>
@@ -19,3 +20,4 @@ typedef DIR* WOKUnix_Dir;
 #endif
 
 #endif
+#endif
index 6ed5002cdc6a07f51361db815ce0ca6e0343d457..0a73f1b4ffe1fb9f3c7bbdf5ae319ed39eab45d1 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 // File:       WOKUnix_Dir.hxx
 // Author:     Jean GAUTIER
 //             <jga@cobrax>
@@ -19,3 +20,4 @@ typedef struct dirent* WOKUnix_DirEnt;
 #endif
 
 #endif
+#endif
index 76167b733f454e64974f6c7b891159a99c161276..203822bce488cbb6d66a1c28459b8ab33b0c45b0 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 
 #include <WOKUnix_DumbOutput.ixx>
 
@@ -60,3 +61,4 @@ void WOKUnix_DumbOutput::Close()
 {
 }
 
+#endif
index 59d477a10a907e58ebcda58eb92f563682ae0e0a..02480b5763a55f30030d9c13b792d5587ec37978 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 #include <TCollection_AsciiString.hxx>
 #include <WOKUnix_DumpScript.ixx>
 
@@ -51,3 +52,4 @@ Standard_Integer WOKUnix_DumpScript::Get()
   return 0;
 }
 
+#endif
index 629308936a95af722dbf540355c2a2c13b74c009..ddfbb59c3f143f7b193c1c9ba78107e6c173aaf0 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 // File:       WOKUnix_FDSet.hxx
 // Created:    Tue May  9 15:25:38 1995
 // Author:     Jean GAUTIER
@@ -23,3 +24,4 @@ typedef fd_set WOKUnix_FDSet;
 
 #endif
 
+#endif
index c360f5af35e1d1b89535a51d7a94c5b1c4896add..665fa205cc11d81cf0b59bfe56eb1455cadc3147 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -435,3 +436,4 @@ static FILE* _wokunix_fdopen ( int fd ) {
 }  // end _wokunix_fdopen
 #endif  // LIN
 
+#endif
index 9f8789f9e4a3d371443fd4827f0b2f9f7f79b4cf..e52fa7ff51b028223761f038b8722bbd1d4d4b18 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 
 
 #include <OSD_Environment.hxx>
@@ -155,3 +156,4 @@ void WOKUnix_FileBuffer::Close()
   if( apath.Name().IsEmpty() != Standard_True && mybuffer.FileNo() >= 0) mybuffer.Close();
   WOKUnix_Buffer::Close();
 }
+#endif
index 2ad82231ce4e46511cec872b017a3aec7c9138d0..8a7e870d963312e054c2ec48b87fa631414ae547 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 // File:       WOKUnix_MaxPipeSize.hxx
 // Created:    Fri May 12 10:09:01 1995
 // Author:     Jean GAUTIER
@@ -31,3 +32,4 @@
 
 
 #endif
+#endif
index a386c5359675fe59e3daa56627705adaf0ffb1b3..6004e561cdcd4c92beee658838463f0624fe5120 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 
 #include <WOKUnix_MixedOutput.ixx>
 
@@ -84,3 +85,4 @@ void WOKUnix_MixedOutput::Close()
   myout->Close();
 }
 
+#endif
index f931fb8e903cd4080c9a8aab2ff16e336b05fedc..98b9950da43fd0096cf02c65d1f6219643027b52 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 #include <WOKUnix_NoBuffer.ixx>
 
  WOKUnix_NoBuffer::WOKUnix_NoBuffer(const WOKUnix_FDescr& afd, const WOKUnix_BufferIs astd) : WOKUnix_Buffer(afd, astd)
@@ -42,3 +43,4 @@ void WOKUnix_NoBuffer::Close()
 {
   
 }
+#endif
index 150b02ba34589b075a795f82b18e618d08fa8256..68ac0f206da07ac0419bcb70aec1ac8759e59063 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 
 #include <WOKUnix_OutErrOutput.ixx>
 #include <WOKUnix_FileBuffer.hxx>
@@ -110,3 +111,4 @@ void WOKUnix_OutErrOutput::Close()
   myerr->Close();
 }
 
+#endif
index c5de9e8e0c66774ecc48d717b0d07d0629176ee8..d2b3e9129121406db46b5eba9a6b7f460fcbfa2d 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 // File:       WOKUnix_Path.cxx
 // Created:    Tue May 30 09:17:00 1995
 // Author:     Jean GAUTIER
@@ -768,3 +769,4 @@ Handle(TCollection_HAsciiString) WOKUnix_Path::FileName() const
   return retVal;
 }
 
+#endif
index 7d6085c04cd2e12d34859043b12534bd648dfc3c..cd99e91c3c5e2d43be991dc616c2ba616954b7a9 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 // File:       WOKUnix_Path.lxx
 // Created:    Thu Jul 27 19:46:43 1995
 // Author:     Jean GAUTIER
@@ -43,3 +44,4 @@ inline void WOKUnix_Path::ResetMDate()
 {
   mystats.st_mtime = -1;
 }
+#endif
index 0c7fd286d799acbbc98af51f8f033732a7ba9ff4..531f77c225aac8c1cf1adcde9c9a2b3bdbd2efc1 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 
 
 #include <WOKUnix_PathIterator.ixx>
@@ -185,3 +186,4 @@ void WOKUnix_PathIterator::Destroy()
 
 
 
+#endif
index 9006c2ff576de281b01c97e2bb007c600ba498bb..7419a77e52d857f9de0a4b32f7a5acb529eb57dd 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 
 #ifdef IRIX
 #include <unistd.h>
@@ -358,3 +359,4 @@ void WOKUnix_Process::Destroy()
  Kill();
  delete myargv;
 }
+#endif
index ade5501e7dae7ad7b474684b0141955d9530bae7..7267ccba4e214019b31d9495c50a3ead649dc171 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 
 #include <sys/wait.h>
 
@@ -195,3 +196,4 @@ void WOKUnix_ProcessManager::WaitProcess(const Handle(WOKUnix_Process)& aprocess
   WOKUnix_Signal::Arm(WOKUnix_SIGCHILD, (WOKUnix_SigHandler) WOKUnix_ProcessManager::ChildDeathHandler);
   return;
 }
+#endif
index 307ab20f4c7161d52faff093d856b3e030f3af27..d4503f490556c0ba9a4455485ce1e5a1933e87f6 100755 (executable)
@@ -1,6 +1,8 @@
+#ifndef WNT
 #include <WOKUnix_ProcessOutput.ixx>
 
  WOKUnix_ProcessOutput::WOKUnix_ProcessOutput()
 {
 }
 
+#endif
index 643a096a238571b4cd29038a98c2437525424bdb..03fa69d94cbfc0f5fcfe741401892bafe3f21875 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 
 #include <WOKUnix_RegExp.ixx>
 
@@ -158,3 +159,4 @@ Standard_Integer WOKUnix_RegExp :: Match (
 
 }  // end WOKUnix_RegExp :: Match
 
+#endif
index 7f4141b9d69ed7662696ffc2502f0b729d9fe044..7636ecb95ce02f580a38a4423c82cefa080a8f88 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 // File:       WOKUnix_RemoteShell.cxx
 // Created:    Mon Nov  6 14:55:55 1995
 // Author:     Jean GAUTIER
@@ -164,3 +165,4 @@ Handle(TCollection_HAsciiString) WOKUnix_RemoteShell::Password() const
 
 
 
+#endif
index 935cf2359cd847a1bc8547cecb0cdf6bbd8ea818..feb06d79385780637547641926c13daf3f1e1e62 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 
 #ifdef IRIX
 #include <unistd.h>
@@ -444,3 +445,4 @@ Handle(TCollection_HAsciiString) WOKUnix_Shell::Host() const
 }
 
 
+#endif
index c1d4fa0a2c9d660fd8b01eb90a09c01c9cb3219d..12ba99deeb204b768f011ec8486b4a86d9a98773 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 // File:       WOKUnix_ShellManager.cxx
 // Created:    Thu Apr  4 23:21:02 1996
 // Author:     Jean GAUTIER
@@ -98,3 +99,4 @@ Handle(WOKUnix_RemoteShell) WOKUnix_ShellManager::GetRemoteShell(const Handle(TC
 
 
 
+#endif
index c4aaa2c15156515fd5128bf865c7fdd52abb4f8b..ffe16961191380b3bfec6d1bce49596ac5139234 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 #include <stdio.h>
 
 #include <WOKUnix_ShellStatus.ixx>
@@ -130,3 +131,4 @@ void WOKUnix_ShellStatus::Destroy()
 
 
 
+#endif
index 4d72f606a60b2fb136268d11ab5a0d904b988be9..44e4aed554d56717ea6caf0eeee60317824c67e1 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 // File:       WOKUnix_SigHandler.hxx
 // Created:    Wed May 24 18:35:36 1995
 // Author:     Jean GAUTIER
@@ -37,3 +38,4 @@ extern "C" {int ieee_handler(char *,char *, sigfpe_handler_type&);}
 typedef void (* WOKUnix_SigHandler) (int);
 
 #endif
+#endif
index 29f140330596c27a5af8b32ec0b47b77dd17c337..d9c70e021b8e0068e54e196069639ba061f0b3ee 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 
 #include <WOKUnix_Signal.ixx>
 
@@ -130,3 +131,4 @@ int WOKUnix_Signal::GetSig(const WOKUnix_Signals asig)
     }
  return 0;
 }
+#endif
index 427090908c998ef23e47e1d191842aede959c55e..18127be92fa61dfec650e1f5a49e893c5b00df0a 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 // File:       WOKUnix_StatBuf.hxx
 // Author:     Jean GAUTIER
 //             <jga@cobrax>
@@ -20,3 +21,4 @@ typedef struct stat WOKUnix_StatBuf;
 #endif
 
 #endif
+#endif
index 1cf1dfd08358eca01e47dede17a35bed06589fad..100a49a2209d1ea17f56a2e7624c1a44eaf09092 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 
 
 #include <WOKTools_Messages.hxx>
@@ -65,3 +66,4 @@ void WOKUnix_SyncStatus::Reset(const Handle(WOKUnix_Shell)& )
 {
 }
 
+#endif
index 64f1c108d6f14b271249289ede2f6c5adc672a03..bce59ff0f2edb1c6033a3d80bfbd00b5ac53eb02 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 // File:       WOKUnix_TimeStat.hxx
 // Created:    Mon Jun 26 15:46:11 1995
 // Author:     Jean GAUTIER
@@ -16,3 +17,4 @@ typedef time_t WOKUnix_TimeStat;
 
 
 #endif
+#endif
index 6e32290062fc8e77eed0890d198b418c6f2d5ab0..380667fe4b82149d19fcf91f9f5bbe1c2d62e5c2 100755 (executable)
@@ -1,3 +1,4 @@
+#ifndef WNT
 // File:       WOKUnix_Timeval.hxx
 // Created:    Tue May  9 15:24:00 1995
 // Author:     Jean GAUTIER
@@ -12,3 +13,4 @@
 typedef struct timeval WOKUnix_Timeval ;
 
 #endif
+#endif