From 1a4efe14384efae869ef3704360e830afec497f6 Mon Sep 17 00:00:00 2001
From: Pedro Gonnet <gonnet@google.com>
Date: Thu, 19 Mar 2015 20:24:10 +0000
Subject: [PATCH] Revert "set the correct defines for the thread-safe HDF5
 functions."

This reverts commit d2d2ce03261ac0c5f6d8461dc68366785c652313.


Former-commit-id: 4a91a31e08967dfb665fde875c68022946dead6c
---
 src/common_io.c   | 3 ---
 src/parallel_io.c | 2 --
 2 files changed, 5 deletions(-)

diff --git a/src/common_io.c b/src/common_io.c
index e2e29a5967..8cc25a4409 100644
--- a/src/common_io.c
+++ b/src/common_io.c
@@ -31,9 +31,6 @@
 #include <stddef.h>
 #include <hdf5.h>
 #include <math.h>
-#ifdef WITH_MPI
-#include <mpi.h>
-#endif
 
 #include "const.h"
 #include "cycle.h"
diff --git a/src/parallel_io.c b/src/parallel_io.c
index 945b895490..bf6119a9b8 100644
--- a/src/parallel_io.c
+++ b/src/parallel_io.c
@@ -23,8 +23,6 @@
 
 #if defined(HAVE_HDF5) && defined(WITH_MPI)
 
-/* Tell HDF5 that we're interested in using shared-memory parallel stuff. */
-#define H5_HAVE_PARALLEL
 
 /* Some standard headers. */
 #include <stdio.h>
-- 
GitLab