mirror of
https://github.com/bebbo/amiga-gcc.git
synced 2025-12-08 22:38:25 +00:00
25 lines
558 B
Diff
25 lines
558 B
Diff
--- old/devices/timer.h 2022-02-03 11:59:06.000000000 +0100
|
|
+++ new/devices/timer.h 2022-06-27 00:29:43.590685664 +0200
|
|
@@ -71,10 +71,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;
|