circumvent problem with realloc and MPI in HPUX 10.20

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@618 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
stasinos 2002-10-03 17:27:52 +00:00
parent 1c252a2420
commit 1244a10a09
2 changed files with 7 additions and 0 deletions

View File

@ -265,6 +265,8 @@
#define HAVE_MPE 0
#endif
/* should we avoid realloc() in mpi.c? */
#define MPI_AVOID_REALLOC 0
/* Is fflush(NULL) clobbering input streams? */
#undef BROKEN_FFLUSH_NULL

View File

@ -478,6 +478,11 @@ case "$target_os" in
INSTALL_DLLS="#"
fi
fi
#do not use realloc() from HP-UX 10.20 together with MPI
if test ${target_os} = hpux10.20
then
AC_DEFINE(MPI_AVOID_REALLOC,1)
fi
;;
*aix*)
# To actually use dlls in AIX I'd need to build YAP as a DLL first.