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:
parent
1c252a2420
commit
1244a10a09
@ -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
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user