From cffaf47c1560dd77a34b9660c8bef527cb4c4e13 Mon Sep 17 00:00:00 2001 From: Scot Breitenfeld Date: Wed, 12 Oct 2022 07:38:27 -0500 Subject: Fix for missing h5dfill_c_long_double in dll (#2155) * added conditionally include h5dfill_c_long_double in dll --- fortran/src/CMakeLists.txt | 3 +++ fortran/src/hdf5_fortrandll.def.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt index b28e8c9..3471041 100644 --- a/fortran/src/CMakeLists.txt +++ b/fortran/src/CMakeLists.txt @@ -10,6 +10,9 @@ if (WIN32) set (H5_NOPAREXP ";") endif () set (H5_F03EXP ";") + if (NOT H5_FORTRAN_C_LONG_DOUBLE_IS_UNIQUE) + set (H5_FORTRAN_C_LONG_DOUBLE_IS_UNIQUE ";") + endif () configure_file (${HDF5_F90_SRC_SOURCE_DIR}/hdf5_fortrandll.def.in ${HDF5_F90_SRC_BINARY_DIR}/hdf5_fortrandll.def @ONLY) endif () endif () diff --git a/fortran/src/hdf5_fortrandll.def.in b/fortran/src/hdf5_fortrandll.def.in index 7743579..54717fb 100644 --- a/fortran/src/hdf5_fortrandll.def.in +++ b/fortran/src/hdf5_fortrandll.def.in @@ -65,7 +65,7 @@ H5D_mp_H5DFILL_PTR H5D_mp_H5DFILL_INTEGER H5D_mp_H5DFILL_C_FLOAT H5D_mp_H5DFILL_C_DOUBLE -H5D_mp_H5DFILL_C_LONG_DOUBLE +@H5_FORTRAN_C_LONG_DOUBLE_IS_UNIQUE@H5D_mp_H5DFILL_C_LONG_DOUBLE H5D_mp_H5DFILL_CHAR H5D_mp_H5DGET_SPACE_STATUS_F H5D_mp_H5DCREATE_ANON_F -- cgit v0.12