File tree Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,6 @@ CHECK_INCLUDE_FILE_CONCAT ("sys/socket.h" ${HDF_PREFIX}_HAVE_SYS_SOCKET_H)
135135CHECK_INCLUDE_FILE_CONCAT ("sys/stat.h" ${HDF_PREFIX} _HAVE_SYS_STAT_H)
136136CHECK_INCLUDE_FILE_CONCAT ("sys/time.h" ${HDF_PREFIX} _HAVE_SYS_TIME_H)
137137CHECK_INCLUDE_FILE_CONCAT ("sys/types.h" ${HDF_PREFIX} _HAVE_SYS_TYPES_H)
138- CHECK_INCLUDE_FILE_CONCAT ("features.h" ${HDF_PREFIX} _HAVE_FEATURES_H)
139138CHECK_INCLUDE_FILE_CONCAT ("dirent.h" ${HDF_PREFIX} _HAVE_DIRENT_H)
140139CHECK_INCLUDE_FILE_CONCAT ("unistd.h" ${HDF_PREFIX} _HAVE_UNISTD_H)
141140CHECK_INCLUDE_FILE_CONCAT ("pwd.h" ${HDF_PREFIX} _HAVE_PWD_H)
@@ -1129,4 +1128,4 @@ else ()
11291128 set (${HDF_PREFIX} _HAVE_PKGCONFIG 0)
11301129endif ()
11311130
1132- #-----------------------------------------------------------------------------
1131+ #-----------------------------------------------------------------------------
Original file line number Diff line number Diff line change 128128/* Define to 1 if you have the `fcntl' function. */
129129#cmakedefine H5_HAVE_FCNTL @H5_HAVE_FCNTL@
130130
131- /* Define to 1 if you have the <features.h> header file. */
132- #cmakedefine H5_HAVE_FEATURES_H @H5_HAVE_FEATURES_H@
133-
134131/* Define if support for deflate (zlib) filter is enabled */
135132#cmakedefine H5_HAVE_FILTER_DEFLATE @H5_HAVE_FILTER_DEFLATE@
136133
Original file line number Diff line number Diff line change @@ -217,6 +217,12 @@ New Features
217217
218218 Library:
219219 --------
220+ - H5public.h no longer includes features.h
221+
222+ features.h is supposed to be included by glibc headers and not used in
223+ application code. It is unnecessary given our use of feature test macros
224+ like _POSIX_C_SOURCE and has been removed.
225+
220226 - Improved performance of opening a virtual dataset with many mappings
221227
222228 When opening a virtual dataset, the library would previously decode
Original file line number Diff line number Diff line change 2222/* API Version macro wrapper definitions */
2323#include "H5version.h"
2424
25- #ifdef H5_HAVE_FEATURES_H
26- #include <features.h> /* For setting POSIX, BSD, etc. compatibility */
27- #endif
28-
2925/* C library header files for things that appear in HDF5 public headers */
3026#ifdef __cplusplus
3127#include <cinttypes>
You can’t perform that action at this time.
0 commit comments