mirror of
https://github.com/bebbo/amiga-gcc.git
synced 2025-12-08 22:38:25 +00:00
24
patches/NDK3.2/Include_H/devices/timer.h.diff
Normal file
24
patches/NDK3.2/Include_H/devices/timer.h.diff
Normal file
@ -0,0 +1,24 @@
|
||||
--- 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;
|
||||
Reference in New Issue
Block a user