From: Julian Seward Date: Sun, 12 Mar 2006 16:44:05 +0000 (+0000) Subject: LAM/MPI compile fix X-Git-Tag: svn/VALGRIND_3_2_0~195 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3323731af8a503b5f0cb9272473940e892bcc510;p=thirdparty%2Fvalgrind.git LAM/MPI compile fix git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5756 --- diff --git a/auxprogs/mpiwrap.c b/auxprogs/mpiwrap.c index 1a944de3fa..72728c43db 100644 --- a/auxprogs/mpiwrap.c +++ b/auxprogs/mpiwrap.c @@ -229,7 +229,9 @@ static void showTy ( FILE* f, MPI_Datatype ty ) else if (ty == MPI_WCHAR) fprintf(f,"WCHAR"); # endif else if (ty == MPI_LONG_LONG_INT) fprintf(f,"LONG_LONG_INT"); +# if defined(MPI_LONG_LONG) else if (ty == MPI_LONG_LONG) fprintf(f,"LONG_LONG"); +# endif else if (ty == MPI_UNSIGNED_LONG_LONG) fprintf(f,"UNSIGNED_LONG_LONG"); else fprintf(f,"showTy:???"); }