1
0
mirror of https://github.com/bebbo/amiga-gcc.git synced 2025-12-08 22:38:25 +00:00

refs https://github.com/bebbo/newlib-cygwin/issues/13: make timeval in devices/timer.h identical v3

This commit is contained in:
bebbo
2020-04-13 20:42:29 +02:00
parent 2bb7faf70d
commit 0eac137ddf

View File

@ -10,12 +10,12 @@
- ULONG tv_secs;
- ULONG tv_micro;
+ union {
+ time_t tv_sec; /* seconds */
+ time_t tv_secs;
+ ULONG tv_sec; /* seconds */
+ ULONG tv_secs;
+ };
+ union {
+ suseconds_t tv_usec; /* and microseconds */
+ suseconds_t tv_micro;
+ ULONG tv_usec; /* and microseconds */
+ ULONG tv_micro;
+ };
};
+#endif