1
0
mirror of https://github.com/bebbo/amiga-gcc.git synced 2026-05-09 09:04:57 +00:00
Files
amiga-gcc/patches/NDK3.2/Include_H/devices/timer.h.diff
bebbo e7d9d3418b refs #222: add support for NDK3.2
make NDK=3.2 ...
2021-08-10 22:36:46 +02:00

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;