summaryrefslogtreecommitdiffstats
path: root/config/cmake
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-02-01 22:01:22 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-02-01 22:01:22 (GMT)
commit2d4f58adf0bd1774485686cea5d7c7c0ba8c2091 (patch)
tree03d612447cbf33cce05abf124aeb0fbf0129a0cb /config/cmake
parentf90e5bdc62bd73ea6af977f4d5d3d40a36d008f6 (diff)
parent055208b71c573be3d4b1047b840d4d8b255bc25e (diff)
downloadhdf5-2d4f58adf0bd1774485686cea5d7c7c0ba8c2091.zip
hdf5-2d4f58adf0bd1774485686cea5d7c7c0ba8c2091.tar.gz
hdf5-2d4f58adf0bd1774485686cea5d7c7c0ba8c2091.tar.bz2
Merge pull request #1515 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:pread_vfd_squash to develop
* commit '055208b71c573be3d4b1047b840d4d8b255bc25e': Minor tweak to CMake preadwrite entry. Updated sec2, log, and core VFDs to use pread/pwrite when available (can be controlled via a configure/CMake option)
Diffstat (limited to 'config/cmake')
-rw-r--r--config/cmake/H5pubconf.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/cmake/H5pubconf.h.in b/config/cmake/H5pubconf.h.in
index a740df2..273adb5 100644
--- a/config/cmake/H5pubconf.h.in
+++ b/config/cmake/H5pubconf.h.in
@@ -267,6 +267,9 @@
/* Define if we have parallel support */
#cmakedefine H5_HAVE_PARALLEL @H5_HAVE_PARALLEL@
+/* Define if both pread and pwrite exist. */
+#cmakedefine H5_HAVE_PREADWRITE @H5_HAVE_PREADWRITE@
+
/* Define to 1 if you have the <pthread.h> header file. */
#cmakedefine H5_HAVE_PTHREAD_H @H5_HAVE_PTHREAD_H@