summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-03-23 21:36:00 (GMT)
committerGitHub <noreply@github.com>2021-03-23 21:36:00 (GMT)
commit13d4ed7e3a7500ccfabc8837c15bb8ec3f164350 (patch)
treeff15801afc4852cbd23ec515e17e1478a45eb152 /config
parent1598238b2f2364957d6390f99edb9a49a8e18d3d (diff)
parent915e36f1d2217cd8f5f614ae975c8b4d97f7c5b5 (diff)
downloadhdf5-13d4ed7e3a7500ccfabc8837c15bb8ec3f164350.zip
hdf5-13d4ed7e3a7500ccfabc8837c15bb8ec3f164350.tar.gz
hdf5-13d4ed7e3a7500ccfabc8837c15bb8ec3f164350.tar.bz2
Merge pull request #504 from derobins/vfd_swmr/hide_timespeccmp
Protects timespeccmp
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 24adb1a..5f6b67f 100644
--- a/config/cmake/H5pubconf.h.in
+++ b/config/cmake/H5pubconf.h.in
@@ -444,6 +444,9 @@
# cmakedefine H5_HAVE_THREADSAFE @H5_HAVE_THREADSAFE@
#endif
+/* Define to 1 if you have the `timespeccmp' function. */
+#cmakedefine H5_HAVE_TIMESPECCMP @H5_HAVE_TIMESPECCMP@
+
/* Define if timezone is a global variable */
#cmakedefine H5_HAVE_TIMEZONE @H5_HAVE_TIMEZONE@
diff --git a/config/cmake_ext_mod/ConfigureChecks.cmake b/config/cmake_ext_mod/ConfigureChecks.cmake
index 18aed24..1fce173 100644
--- a/config/cmake_ext_mod/ConfigureChecks.cmake
+++ b/config/cmake_ext_mod/ConfigureChecks.cmake
@@ -530,6 +530,7 @@ CHECK_FUNCTION_EXISTS (symlink ${HDF_PREFIX}_HAVE_SYMLINK)
CHECK_FUNCTION_EXISTS (system ${HDF_PREFIX}_HAVE_SYSTEM)
CHECK_FUNCTION_EXISTS (tmpfile ${HDF_PREFIX}_HAVE_TMPFILE)
+CHECK_FUNCTION_EXISTS (timespeccmp ${HDF_PREFIX}_HAVE_TIMESPECCMP)
CHECK_FUNCTION_EXISTS (asprintf ${HDF_PREFIX}_HAVE_ASPRINTF)
CHECK_FUNCTION_EXISTS (vasprintf ${HDF_PREFIX}_HAVE_VASPRINTF)
CHECK_FUNCTION_EXISTS (waitpid ${HDF_PREFIX}_HAVE_WAITPID)