+2024-11-14 Bruno Haible <bruno@clisp.org>
+
+ fseeko: Fix potentially wrong override.
+ * m4/fseeko.m4 (gl_PREREQ_FSEEKO): Define the C macro HAVE_FSEEKO.
+
2024-11-14 Bruno Haible <bruno@clisp.org>
ftello: Fix override on mingw and 32-bit Solaris OpenIndiana.
-# fseeko.m4 serial 20
+# fseeko.m4 serial 21
dnl Copyright (C) 2007-2024 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Prerequisites of lib/fseeko.c.
AC_DEFUN([gl_PREREQ_FSEEKO],
[
+ if test $gl_cv_func_fseeko != no; then
+ AC_DEFINE([HAVE_FSEEKO], [1],
+ [Define to 1 if the system has the fseeko function.])
+ fi
dnl Native Windows has the function _fseeki64. mingw hides it in some
dnl circumstances, but mingw64 makes it usable again.
AC_CHECK_FUNCS([_fseeki64])