summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2024-03-13 00:35:41 (GMT)
committerGitHub <noreply@github.com>2024-03-13 00:35:41 (GMT)
commit8961016fe70e2a05028682220f3ef0e83d503e09 (patch)
treee632895c17675cb72fc65b5f0a79120324d94f16
parent56f1092ddb72cc67485ef102b576714a25585ff9 (diff)
downloadhdf5-8961016fe70e2a05028682220f3ef0e83d503e09.zip
hdf5-8961016fe70e2a05028682220f3ef0e83d503e09.tar.gz
hdf5-8961016fe70e2a05028682220f3ef0e83d503e09.tar.bz2
Update CMake comment about _POSIX_C_SOURCE (#4124)
Was missng the 2008 pread/write info
-rw-r--r--config/cmake/ConfigureChecks.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index a004c76..7981b64 100644
--- a/config/cmake/ConfigureChecks.cmake
+++ b/config/cmake/ConfigureChecks.cmake
@@ -224,7 +224,9 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux")
# functionality so clock_gettime and CLOCK_MONOTONIC are defined
# correctly. This was later updated to 200112L so that
# posix_memalign() is visible for the direct VFD code on Linux
- # systems.
+ # systems. Even later, this was changed to 200809L to support
+ # pread/pwrite in VFDs.
+ #
# POSIX feature information can be found in the gcc manual at:
# http://www.gnu.org/s/libc/manual/html_node/Feature-Test-Macros.html
set (HDF_EXTRA_C_FLAGS -D_POSIX_C_SOURCE=200809L)