Skip to content
Snippets Groups Projects
Commit 8183e05b authored by Tomáš Janoušek's avatar Tomáš Janoušek Committed by Bodigrim
Browse files

Fix CTimeVal definition for platforms where time_t isn't CLong

One such platform is Debian unstable armhf, which is in the process of
transitioning to 64-bit time_t: https://wiki.debian.org/ReleaseGoals/64bit-time

On that platform (as well as any other glibc/musl platform), however,
CTimeVal isn't used for anything at all because there are #ifdefs that
prefer using `utimensat` which takes CTimeSpec instead. This fix is
therefore quite theoretical, as it is unknown whether there are any
platforms actually affected.

Related: https://github.com/haskell/unix/pull/252
parent 3b4123b0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment