mirror of
https://frontier.innolan.net/github/amigaos-cross-toolchain6.git
synced 2024-10-19 10:29:55 +00:00
21 lines
482 B
Diff
21 lines
482 B
Diff
--- NDK_3.9/Include/include_h/devices/timer.h Wed Aug 30 16:13:01 1995
|
|
+++ NDK_3.9/Include/include_h/devices/timer.h Sat Aug 10 15:53:59 1996
|
|
@@ -27,10 +27,17 @@
|
|
|
|
#define TIMERNAME "timer.device"
|
|
|
|
+#ifndef _SYS_TIME_H_
|
|
+/* Use whatever was included first, standard (sys/time.h) or Amiga
|
|
+ * includes (jch). */
|
|
struct timeval {
|
|
ULONG tv_secs;
|
|
ULONG tv_micro;
|
|
};
|
|
+#else
|
|
+#define tv_secs tv_sec
|
|
+#define tv_micro tv_usec
|
|
+#endif
|
|
|
|
struct EClockVal {
|
|
ULONG ev_hi;
|