mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
Update CMake comment about _POSIX_C_SOURCE (#4124)
Was missng the 2008 pread/write info
This commit is contained in:
parent
56f1092ddb
commit
8961016fe7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user