summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2002-06-13 22:49:21 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2002-06-13 22:49:21 (GMT)
commita30bb56c23be6b9a6c762b851de6e19172fa59be (patch)
tree2bffdb769094ffd0ccbea30be9f94beb79bd793c /src/H5public.h
parent6816abcc547335d87d241b01c72832e30717d693 (diff)
downloadhdf5-a30bb56c23be6b9a6c762b851de6e19172fa59be.zip
hdf5-a30bb56c23be6b9a6c762b851de6e19172fa59be.tar.gz
hdf5-a30bb56c23be6b9a6c762b851de6e19172fa59be.tar.bz2
[svn-r5631]
Purpose: Maintenance Description: PSC has new OSF cluster; uname -sr output is OSF1 iam764 V5.1 1885 alpha We have to include inttypes.h file, otherwise compilations fails complaining about nondefined uint64_t type. Solution: Configure defined HAVE_INTTYPES_H macro; (fixed by Quincey) added HAVE_INTTYPES_H and H5_HAVE_INTTYPES_H macros to define if inttypes.h should be included. Platforms tested: OSF5.1 and Solaris 2.7
Diffstat (limited to 'src/H5public.h')
-rw-r--r--src/H5public.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5public.h b/src/H5public.h
index e18de5a..f37c57f 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -38,6 +38,9 @@
#ifdef H5_HAVE_STDINT_H
# include <stdint.h> /*for C9x types */
#endif
+#ifdef H5_HAVE_INTTYPES_H
+# include <inttypes.h> /* For uint64_t on some platforms */
+#endif
#ifdef H5_HAVE_STDDEF_H
# include <stddef.h>
#endif
@@ -56,7 +59,6 @@
#ifdef H5_HAVE_SRB /*for SRB I/O */
#include <srbClient.h>
#endif
-
#include "H5api_adpt.h"
/* Version numbers */