#ifdef LIN
#include <bits/sigset.h>
#include <signal.h>
-#elif !defined(HPUX)
+#elif !defined(HPUX) && !defined(AIX)
#include <siginfo.h>
#endif
#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
/* JGA : to compile on Solaris */
-#if !defined(HPUX) && !defined (WNT)
+#if !defined(HPUX) && !defined (WNT) && !defined (AIX)
#include <alloca.h>
#else
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;
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 */
/***/