mirror of
https://github.com/bebbo/amiga-gcc.git
synced 2026-05-09 09:04:57 +00:00
25 lines
567 B
Diff
25 lines
567 B
Diff
--- old/devices/timer.h 2021-04-13 02:41:06.000000000 +0200
|
|
+++ new/devices/timer.h 2021-08-10 16:38:04.990455793 +0200
|
|
@@ -53,10 +53,19 @@
|
|
|
|
#ifndef __USE_NEW_TIMEVAL__
|
|
|
|
+#ifndef _TIMEVAL_DEFINED
|
|
+#define _TIMEVAL_DEFINED
|
|
struct timeval {
|
|
- ULONG tv_secs;
|
|
- ULONG tv_micro;
|
|
+ union {
|
|
+ ULONG tv_sec; /* seconds */
|
|
+ ULONG tv_secs;
|
|
+ };
|
|
+ union {
|
|
+ ULONG tv_usec; /* and microseconds */
|
|
+ ULONG tv_micro;
|
|
+ };
|
|
};
|
|
+#endif
|
|
|
|
struct timerequest {
|
|
struct IORequest tr_node;
|