]> OCCT Git - occt-wok.git/commitdiff
No comments
authorcas <cas@opencascade.com>
Tue, 25 Jan 2000 17:57:33 +0000 (17:57 +0000)
committercas <cas@opencascade.com>
Tue, 25 Jan 2000 17:57:33 +0000 (17:57 +0000)
src/WOKUnix/WOKUnix_MaxPipeSize.hxx
src/WOKUnix/WOKUnix_Process.cxx
src/WOKUnix/WOKUnix_RemoteShell.cxx
src/WOKUnix/WOKUnix_Shell.cxx
src/WOKUnix/WOKUnix_Signal.cxx
src/WOKUnix/WOKUnix_regexp_1.c

index 723d4d3fa98da639f9e779f76d756460a5b686b4..2ad82231ce4e46511cec872b017a3aec7c9138d0 100755 (executable)
@@ -24,6 +24,9 @@
 #elif defined(LIN)
 #include <limits.h>
 #define MAX_PIPE_SIZE PIPE_BUF
+#elif defined(AIX)
+#include <limits.h>
+#define MAX_PIPE_SIZE PIPE_BUF
 #endif
 
 
index a9cab0634f0836efd26e438279bd62dfccf4266e..9006c2ff576de281b01c97e2bb007c600ba498bb 100755 (executable)
 #include <sys/time.h>
 #endif
 
+#ifdef AIX
+#include <strings.h>
+#endif
+
 #include <unistd.h>
 #include <sys/wait.h>
 #include <signal.h>
index c5f668f01eba8c4242d7765d03e0a549133803f6..7f4141b9d69ed7662696ffc2502f0b729d9fe044 100755 (executable)
 #include <sys/time.h>
 #endif
 
+#ifdef AIX
+#include <strings.h>
+#endif
+
 #include <stdio.h>
  
 #include <Standard_ProgramError.hxx>
index 087e0f866a47fdbc53ffe800853b05fbbd2ab951..935cf2359cd847a1bc8547cecb0cdf6bbd8ea818 100755 (executable)
 #include <sys/time.h>
 #endif
 
+#ifdef AIX
+#include <strings.h>
+#endif
+
 #include <fstream.h>
 #include <stdio.h>
 
index 2aa34191d632e0416daef85543e7ad27da2dfa57..29f140330596c27a5af8b32ec0b47b77dd17c337 100755 (executable)
@@ -9,7 +9,7 @@
 #ifdef LIN
 #include <bits/sigset.h>
 #include <signal.h>
-#elif !defined(HPUX)
+#elif !defined(HPUX)  && !defined(AIX)
 #include <siginfo.h>
 #endif
 
@@ -86,7 +86,11 @@ void WOKUnix_Signal::Arm(const WOKUnix_SigHandler& ahandler)
 #elif defined(LIN)
   sigemptyset(&act.sa_mask) ;
   act.sa_flags   = 0;
-#else
+#elif defined(AIX)
+  act.sa_mask.losigs   = 0;
+  act.sa_mask.hisigs   = 0;
+  act.sa_flags                = 0;
+ #else
   act.sa_mask    = 0;
   act.sa_flags   = 0;
 #endif
index 1a5b4cbdaf620f46660aa03ac31d885bfbfaa572..31eac1aaa83753f5bd904b95700466430c2451f5 100755 (executable)
@@ -27,7 +27,7 @@
 
 /* JGA : to compile on Solaris */
 
-#if !defined(HPUX) && !defined (WNT)
+#if !defined(HPUX) && !defined (WNT) && !defined (AIX)
 #include <alloca.h>
 
 #else
@@ -1094,7 +1094,7 @@ int re_search_2 (
        pbufp -> can_be_null == 0
   ) return -1;
 
-  val = re_match_2 ( pbufp, string1, size1, string2, size2, startpos, regs, mstop );
+  val = re_match_2 ( pbufp,(_TUCHAR*)  string1, size1,(_TUCHAR*)  string2, size2, startpos, regs, mstop );
 
   /* Propagate error indication if worse than mere failure.  */
   if ( val == -2 ) return -2;
@@ -1127,7 +1127,7 @@ int re_match (
      PRE_REGISTERS regs
     ) {
 
- return re_match_2 ( pbufp, NULL, 0, string, size, pos, regs, size );
+ return re_match_2 ( pbufp, NULL, 0,(_TUCHAR*) string, size, pos, regs, size );
 
 }  /* end re_match */
 /***/