diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2002-06-13 22:49:21 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2002-06-13 22:49:21 (GMT) |
commit | a30bb56c23be6b9a6c762b851de6e19172fa59be (patch) | |
tree | 2bffdb769094ffd0ccbea30be9f94beb79bd793c /src | |
parent | 6816abcc547335d87d241b01c72832e30717d693 (diff) | |
download | hdf5-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')
-rw-r--r-- | src/H5config.h.in | 3 | ||||
-rw-r--r-- | src/H5public.h | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in index 762f327..0db6f6c 100644 --- a/src/H5config.h.in +++ b/src/H5config.h.in @@ -409,3 +409,6 @@ /* Define if you have the z library (-lz). */ #undef HAVE_LIBZ + +/* Define if you have the <inttypes.h> header file. */ +#undef HAVE_INTTYPES_H 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 */ |