1
1

Fix for bug 845: elminiated an #if/#endif block that is only necessary

if we're going to suport non-ANSI compilers (in which case we would
need a corresponding #else block with a set of non-ANSI typedefs),
which we're not going to do.  :-)

This commit was SVN r1102.
Этот коммит содержится в:
Jeff Squyres 2004-04-28 01:52:56 +00:00
родитель 7a81bb118c
Коммит e4bbefd57b

Просмотреть файл

@ -50,14 +50,14 @@ typedef struct lam_status_public_t lam_status_public_t;
#if defined(c_plusplus) || defined(__cplusplus) #if defined(c_plusplus) || defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
#if __STDC__ || defined(c_plusplus) || defined(__cplusplus)
typedef int (MPI_Copy_function)(MPI_Comm, int, void *, typedef int (MPI_Copy_function)(MPI_Comm, int, void *,
void *, void *, int *); void *, void *, int *);
typedef int (MPI_Delete_function)(MPI_Comm, int, void *, void *); typedef int (MPI_Delete_function)(MPI_Comm, int, void *, void *);
typedef int (MPI_Datarep_extent_function)(MPI_Datatype, MPI_Aint *, typedef int (MPI_Datarep_extent_function)(MPI_Datatype, MPI_Aint *,
void *); void *);
typedef int (MPI_Datarep_conversion_function)(void *, MPI_Datatype, typedef int (MPI_Datarep_conversion_function)(void *, MPI_Datatype,
int, void *, MPI_Offset, void *); int, void *, MPI_Offset,
void *);
typedef void (MPI_Comm_errhandler_fn)(MPI_Comm *, int *, ...); typedef void (MPI_Comm_errhandler_fn)(MPI_Comm *, int *, ...);
typedef void (MPI_File_errhandler_fn)(MPI_File *, int *, ...); typedef void (MPI_File_errhandler_fn)(MPI_File *, int *, ...);
typedef void (MPI_Win_errhandler_fn)(MPI_Win *, int *, ...); typedef void (MPI_Win_errhandler_fn)(MPI_Win *, int *, ...);
@ -76,7 +76,6 @@ extern "C" {
typedef int (MPI_Grequest_query_function)(void *, MPI_Status *); typedef int (MPI_Grequest_query_function)(void *, MPI_Status *);
typedef int (MPI_Grequest_free_function)(void *); typedef int (MPI_Grequest_free_function)(void *);
typedef int (MPI_Grequest_cancel_function)(void *, int); typedef int (MPI_Grequest_cancel_function)(void *, int);
#endif
#if defined(c_plusplus) || defined(__cplusplus) #if defined(c_plusplus) || defined(__cplusplus)
} }
#endif #endif