* lib/utime.in.h (utime): Use _GL_CXXALIAS_MDA_CAST instead of
_GL_CXXALIAS_MDA.
+2025-05-25 Bruno Haible <bruno@clisp.org>
+
+ utime-h: Fix error in C++ mode with MSVC.
+ * lib/utime.in.h (utime): Use _GL_CXXALIAS_MDA_CAST instead of
+ _GL_CXXALIAS_MDA.
+
2025-05-22 Collin Funk <collin.funk1@gmail.com>
stdckdint-h: Don't generate header if it is not needed.
# undef utime
# define utime _utime
# endif
-_GL_CXXALIAS_MDA (utime, int, (const char *filename, const struct utimbuf *ts));
+/* Need to cast, because on MSVC, the second parameter is of type
+ 'struct _utimbuf *'. */
+_GL_CXXALIAS_MDA_CAST (utime, int, (const char *filename, const struct utimbuf *ts));
# else
_GL_CXXALIAS_SYS (utime, int, (const char *filename, const struct utimbuf *ts));
# endif