summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorM. Scot Breitenfeld <brtnfld@hdfgroup.org>2018-12-12 21:39:18 (GMT)
committerM. Scot Breitenfeld <brtnfld@hdfgroup.org>2019-01-10 23:10:05 (GMT)
commit6e489435e9ca484a4927d3bb83f2c0058147d7ba (patch)
tree8aab3b95bda0cee3ffdd4fa0ea018172fb074fe7 /config
parenta043211d9edf2df3ea8049bda4be6bdcbf0970e9 (diff)
downloadhdf5-6e489435e9ca484a4927d3bb83f2c0058147d7ba.zip
hdf5-6e489435e9ca484a4927d3bb83f2c0058147d7ba.tar.gz
hdf5-6e489435e9ca484a4927d3bb83f2c0058147d7ba.tar.bz2
merged:
HDFFV-10652 HDFFV-10443
Diffstat (limited to 'config')
-rw-r--r--config/cmake/H5pubconf.h.in3
-rw-r--r--config/cmake_ext_mod/ConfigureChecks.cmake1
2 files changed, 4 insertions, 0 deletions
diff --git a/config/cmake/H5pubconf.h.in b/config/cmake/H5pubconf.h.in
index b079297..4edaff0 100644
--- a/config/cmake/H5pubconf.h.in
+++ b/config/cmake/H5pubconf.h.in
@@ -599,6 +599,9 @@
/* The size of `short', as computed by sizeof. */
#cmakedefine H5_SIZEOF_SHORT @H5_SIZEOF_SHORT@
+/* The size of `time_t', as computed by sizeof. */
+#cmakedefine H5_SIZEOF_TIME_T @H5_SIZEOF_TIME_T@
+
/* The size of `uint16_t', as computed by sizeof. */
#cmakedefine H5_SIZEOF_UINT16_T @H5_SIZEOF_UINT16_T@
diff --git a/config/cmake_ext_mod/ConfigureChecks.cmake b/config/cmake_ext_mod/ConfigureChecks.cmake
index 0424ed6..c24c1f8 100644
--- a/config/cmake_ext_mod/ConfigureChecks.cmake
+++ b/config/cmake_ext_mod/ConfigureChecks.cmake
@@ -413,6 +413,7 @@ HDF_CHECK_TYPE_SIZE (off64_t ${HDF_PREFIX}_SIZEOF_OFF64_T)
if (NOT ${HDF_PREFIX}_SIZEOF_OFF64_T)
set (${HDF_PREFIX}_SIZEOF_OFF64_T 0)
endif ()
+HDF_CHECK_TYPE_SIZE (time_t ${HDF_PREFIX}_SIZEOF_TIME_T)
#-----------------------------------------------------------------------------
# Extra C99 types