mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
Correct extra flags
This commit is contained in:
parent
abd38c0b85
commit
196193c18d
@ -274,11 +274,11 @@ if (MINGW OR NOT WINDOWS)
|
||||
# systems.
|
||||
# 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=200112L)
|
||||
set (HDF_EXTRA_C_FLAGS -D_POSIX_C_SOURCE=200809L)
|
||||
|
||||
# Need to add this so that O_DIRECT is visible for the direct
|
||||
# VFD on Linux systems.
|
||||
set (HDF_EXTRA_C_FLAGS -D_GNU_SOURCE)
|
||||
set (HDF_EXTRA_C_FLAGS ${HDF_EXTRA_C_FLAGS} -D_GNU_SOURCE)
|
||||
|
||||
option (HDF_ENABLE_LARGE_FILE "Enable support for large (64-bit) files on Linux." ON)
|
||||
if (HDF_ENABLE_LARGE_FILE AND NOT DEFINED TEST_LFS_WORKS_RUN)
|
||||
|
Loading…
Reference in New Issue
Block a user