bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cannot build fstat.c on mingw


From: Reuben Thomas
Subject: Cannot build fstat.c on mingw
Date: Sun, 26 Feb 2023 18:27:56 +0200

I get an error with compiling:

In file included from fstat.c:52:
stat-time.h: In function ‘get_stat_atime_ns’:
stat-time.h:52:43: error: invalid use of undefined type ‘const struct _stati64’
   52 | #  define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim)

and lots more the same.

I came across this when trying to build GNU libiconv 1.17, which seems to use the current version of fstat.c.

--
https://rrt.sc3d.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]