diff options
Diffstat (limited to 'testpar/t_shapesame.c')
-rw-r--r-- | testpar/t_shapesame.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testpar/t_shapesame.c b/testpar/t_shapesame.c index f96c669..d167687 100644 --- a/testpar/t_shapesame.c +++ b/testpar/t_shapesame.c @@ -5037,9 +5037,11 @@ int main(int argc, char **argv) { int mpi_size, mpi_rank; /* mpi variables */ +#ifndef H5_HAVE_WIN32_API /* Un-buffer the stdout and stderr */ - setbuf(stderr, NULL); - setbuf(stdout, NULL); + HDsetbuf(stderr, NULL); + HDsetbuf(stdout, NULL); +#endif MPI_Init(&argc, &argv); MPI_Comm_size(MPI_COMM_WORLD, &mpi_size); |