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

refs #222: add support for NDK3.2

make NDK=3.2 ...
This commit is contained in:
bebbo
2021-08-10 22:36:46 +02:00
parent cb2edfd3ef
commit e7d9d3418b
7 changed files with 136 additions and 35 deletions

View 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;