diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2015-07-09 15:01:11 (GMT) |
---|---|---|
committer | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2015-07-09 15:01:11 (GMT) |
commit | b67a6727cf0c848f92463a15ac76a2fbdfc6555a (patch) | |
tree | f16ef6a07497a03c0fd13436186037e802f35f90 /fortran/src | |
parent | fc42b3efaa724c0caa6ff84bf5d8136a6aae22bb (diff) | |
download | hdf5-b67a6727cf0c848f92463a15ac76a2fbdfc6555a.zip hdf5-b67a6727cf0c848f92463a15ac76a2fbdfc6555a.tar.gz hdf5-b67a6727cf0c848f92463a15ac76a2fbdfc6555a.tar.bz2 |
[svn-r27359] Fixed Cmake to handle autogenerated Fortran HL APIs
Diffstat (limited to 'fortran/src')
-rw-r--r-- | fortran/src/H5config_f.inc.cmake | 7 | ||||
-rw-r--r-- | fortran/src/H5config_f.inc.in | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/fortran/src/H5config_f.inc.cmake b/fortran/src/H5config_f.inc.cmake index 2f987c3..cc36889 100644 --- a/fortran/src/H5config_f.inc.cmake +++ b/fortran/src/H5config_f.inc.cmake @@ -43,6 +43,13 @@ ! should this be ${HDF_PREFIX} instead of H5 MSB +#define H5_SIZEOF_DOUBLE @H5_SIZEOF_DOUBLE@ + +#if H5_SIZEOF_DOUBLE==0 +#undef H5_SIZEOF_DOUBLE +#endif + +! should this be ${HDF_PREFIX} instead of H5 MSB #define H5_SIZEOF_LONG_DOUBLE @H5_SIZEOF_LONG_DOUBLE@ #if H5_SIZEOF_LONG_DOUBLE==0 diff --git a/fortran/src/H5config_f.inc.in b/fortran/src/H5config_f.inc.in index b0de405..64c3a0c 100644 --- a/fortran/src/H5config_f.inc.in +++ b/fortran/src/H5config_f.inc.in @@ -25,6 +25,9 @@ #undef HAVE_ISO_FORTRAN_ENV ! Define the size of C's long double +#undef SIZEOF_DOUBLE + +! Define the size of C's long double #undef SIZEOF_LONG_DOUBLE ! Define the maximum decimal precision for reals |