]> git.ipfire.org Git - thirdparty/gnulib.git/commit
stat-time: Fix syntax errors in C++ mode on MSVC (regr. 2023-05-14).
authorBruno Haible <bruno@clisp.org>
Sat, 31 May 2025 23:07:53 +0000 (01:07 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 31 May 2025 23:10:34 +0000 (01:10 +0200)
commit0143999972f1565ac40887393e20a7a8237785a7
treedb28910d7a86aeeee723bcbb9ce235cee28e2a1d
parent351dd2cacf3aff1872e588017daa0cb338ce050c
stat-time: Fix syntax errors in C++ mode on MSVC (regr. 2023-05-14).

* lib/stat-time.h (_gl_make_timespec): New macro / function.
(get_stat_atime, get_stat_ctime, get_stat_mtime, get_stat_birthtime):
Use it instead of a compound literal expression.
ChangeLog
lib/stat-time.h