Commit 9692f35
committed
build with 64-bit time_t on 32-bit platforms
It is good practice to build with 64-bit time_t/timeval on 32-bit platforms to
avoid the Y2038 issue. This is the default when building on Yocto for armv7,
for example. Unfortunately suseconds_t is not an alias to a type of the correct
width (unlike time_t), so for Glibc make it a private alias of time_t to fix
the build.1 parent c748c8b commit 9692f35
File tree
1 file changed
+6
-0
lines changed- Sources/FoundationEssentials/FileManager
1 file changed
+6
-0
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
967 | 967 | | |
968 | 968 | | |
969 | 969 | | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
970 | 976 | | |
971 | 977 | | |
972 | 978 | | |
| |||
0 commit comments