summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2024-03-16 18:51:02 (GMT)
committerGitHub <noreply@github.com>2024-03-16 18:51:02 (GMT)
commit45f7898272394b48faba7aad75eb69d05fdfffde (patch)
tree110b1651608ff5b3993d99518c6b257f2b89014a
parent87970e1d534f148c4218a8657c13a4f591184f73 (diff)
downloadhdf5-45f7898272394b48faba7aad75eb69d05fdfffde.zip
hdf5-45f7898272394b48faba7aad75eb69d05fdfffde.tar.gz
hdf5-45f7898272394b48faba7aad75eb69d05fdfffde.tar.bz2
Remove lseek64 and stat64 symbols from CMake (#4163)
We don't use these in the library.
-rw-r--r--config/cmake/ConfigureChecks.cmake1
-rw-r--r--config/cmake/H5pubconf.h.in6
2 files changed, 0 insertions, 7 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index 668739e..86a96ce 100644
--- a/config/cmake/ConfigureChecks.cmake
+++ b/config/cmake/ConfigureChecks.cmake
@@ -143,7 +143,6 @@ else ()
endif ()
if (CYGWIN)
- set (${HDF_PREFIX}_HAVE_LSEEK64 0)
set (CMAKE_REQUIRED_DEFINITIONS "${CMAKE_REQUIRED_DEFINITIONS} -D_GNU_SOURCE")
add_definitions ("-D_GNU_SOURCE")
endif ()
diff --git a/config/cmake/H5pubconf.h.in b/config/cmake/H5pubconf.h.in
index f835da1..8d866ec 100644
--- a/config/cmake/H5pubconf.h.in
+++ b/config/cmake/H5pubconf.h.in
@@ -216,9 +216,6 @@
/* Define to 1 if you have the `z' library (-lz). */
#cmakedefine H5_HAVE_LIBZ @H5_HAVE_LIBZ@
-/* Define to 1 if you have the `lseek64' function. */
-#cmakedefine H5_HAVE_LSEEK64 @H5_HAVE_LSEEK64@
-
/* Define if the map API (H5M) should be compiled */
#cmakedefine H5_HAVE_MAP_API @H5_HAVE_MAP_API@
@@ -283,9 +280,6 @@
compiled */
#cmakedefine H5_HAVE_ROS3_VFD @H5_HAVE_ROS3_VFD@
-/* Define to 1 if you have the `stat64' function. */
-#cmakedefine H5_HAVE_STAT64 @H5_HAVE_STAT64@
-
/* Define if struct stat has the st_blocks field */
#cmakedefine H5_HAVE_STAT_ST_BLOCKS @H5_HAVE_STAT_ST_BLOCKS@