From: cas Date: Tue, 25 Jan 2000 17:57:33 +0000 (+0000) Subject: No comments X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=943c9290f0810d8abb796a6f67959c1fccc8eb91;p=occt-wok.git No comments --- diff --git a/src/WOKUnix/WOKUnix_MaxPipeSize.hxx b/src/WOKUnix/WOKUnix_MaxPipeSize.hxx index 723d4d3..2ad8223 100755 --- a/src/WOKUnix/WOKUnix_MaxPipeSize.hxx +++ b/src/WOKUnix/WOKUnix_MaxPipeSize.hxx @@ -24,6 +24,9 @@ #elif defined(LIN) #include #define MAX_PIPE_SIZE PIPE_BUF +#elif defined(AIX) +#include +#define MAX_PIPE_SIZE PIPE_BUF #endif diff --git a/src/WOKUnix/WOKUnix_Process.cxx b/src/WOKUnix/WOKUnix_Process.cxx index a9cab06..9006c2f 100755 --- a/src/WOKUnix/WOKUnix_Process.cxx +++ b/src/WOKUnix/WOKUnix_Process.cxx @@ -12,6 +12,10 @@ #include #endif +#ifdef AIX +#include +#endif + #include #include #include diff --git a/src/WOKUnix/WOKUnix_RemoteShell.cxx b/src/WOKUnix/WOKUnix_RemoteShell.cxx index c5f668f..7f4141b 100755 --- a/src/WOKUnix/WOKUnix_RemoteShell.cxx +++ b/src/WOKUnix/WOKUnix_RemoteShell.cxx @@ -16,6 +16,10 @@ #include #endif +#ifdef AIX +#include +#endif + #include #include diff --git a/src/WOKUnix/WOKUnix_Shell.cxx b/src/WOKUnix/WOKUnix_Shell.cxx index 087e0f8..935cf23 100755 --- a/src/WOKUnix/WOKUnix_Shell.cxx +++ b/src/WOKUnix/WOKUnix_Shell.cxx @@ -12,6 +12,10 @@ #include #endif +#ifdef AIX +#include +#endif + #include #include diff --git a/src/WOKUnix/WOKUnix_Signal.cxx b/src/WOKUnix/WOKUnix_Signal.cxx index 2aa3419..29f1403 100755 --- a/src/WOKUnix/WOKUnix_Signal.cxx +++ b/src/WOKUnix/WOKUnix_Signal.cxx @@ -9,7 +9,7 @@ #ifdef LIN #include #include -#elif !defined(HPUX) +#elif !defined(HPUX) && !defined(AIX) #include #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 diff --git a/src/WOKUnix/WOKUnix_regexp_1.c b/src/WOKUnix/WOKUnix_regexp_1.c index 1a5b4cb..31eac1a 100755 --- a/src/WOKUnix/WOKUnix_regexp_1.c +++ b/src/WOKUnix/WOKUnix_regexp_1.c @@ -27,7 +27,7 @@ /* JGA : to compile on Solaris */ -#if !defined(HPUX) && !defined (WNT) +#if !defined(HPUX) && !defined (WNT) && !defined (AIX) #include #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 */ /***/