summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-07-12 17:37:58 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-07-12 17:37:58 (GMT)
commitccd97f3d8f20768faaa7675041fff05ec9f79e89 (patch)
tree49e91c13f8422c7eba65d3e82f9f0cf0f280bfd4 /src/H5public.h
parent0fb4c9a123bbe05b99626b33c384951ef9ab8767 (diff)
downloadhdf5-ccd97f3d8f20768faaa7675041fff05ec9f79e89.zip
hdf5-ccd97f3d8f20768faaa7675041fff05ec9f79e89.tar.gz
hdf5-ccd97f3d8f20768faaa7675041fff05ec9f79e89.tar.bz2
[svn-r1465] src/H5Fmpio.c:
Removed the unnecessary #include of mpi.h and mpio.h. (They are included already in H5public.h when applicable.) Changed couple debug printing to be controlled like the others. src/H5public.h: Officially, mpio.h should be in mpi.h but MPIO are not always supported by the vendor yet. Make the #include of mpio.h conditional when it is not in mpi.h. testpar/testphdf5.h: Removed the unnecessary #include of mpi.h and mpio.h. (They are included already in H5public.h when applicable.)
Diffstat (limited to 'src/H5public.h')
-rw-r--r--src/H5public.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5public.h b/src/H5public.h
index 837f13a..da67b5c 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -34,8 +34,10 @@ static char RcsId[] = "@(#)$Revision$";
#endif
#ifdef HAVE_PARALLEL
# include <mpi.h>
+#ifndef MPI_FILE_NULL /*MPIO may be defined in mpi.h already*/
# include <mpio.h>
#endif
+#endif
#include <H5api_adpt.h>
/* Version numbers */