summaryrefslogtreecommitdiff
path: root/frontends/amiga/os3support.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2021-07-07 15:02:52 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2021-07-07 15:02:52 +0100
commita7e976b3fbc1038408b024b46dced0205514e109 (patch)
tree786d40adea78bd4318b5fd1aa6708c53e2a60619 /frontends/amiga/os3support.h
parentcdf821454ae0328224c037398ac2f41ab4acd163 (diff)
downloadnetsurf-a7e976b3fbc1038408b024b46dced0205514e109.tar.gz
netsurf-a7e976b3fbc1038408b024b46dced0205514e109.tar.bz2
Amiga: switch to using OS3.2's idea of TimeVal/TimeRequest
Diffstat (limited to 'frontends/amiga/os3support.h')
-rw-r--r--frontends/amiga/os3support.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/frontends/amiga/os3support.h b/frontends/amiga/os3support.h
index f04b37b77..2df014117 100644
--- a/frontends/amiga/os3support.h
+++ b/frontends/amiga/os3support.h
@@ -120,12 +120,6 @@
/* Renamed structures */
#define AnchorPathOld AnchorPath
-/* TimeVal/TimeRequest */
-#define Seconds tv_secs
-#define Microseconds tv_micro
-#define Request tr_node
-#define Time tr_time
-
/* ReAction (ClassAct) macros */
#define GetFileEnd End
#define GetFontEnd End
@@ -220,6 +214,12 @@ int alphasort(const struct dirent **d1, const struct dirent **d2);
int scandir(const char *dir, struct dirent ***namelist,
int (*filter)(const struct dirent *),
int (*compar)(const struct dirent **, const struct dirent **));
-#endif
-#endif
+#else /* __amigaos4__ */
+/* TimeVal/TimeRequest */
+#define tv_secs Seconds
+#define tv_micro Microseconds
+#define tr_node Request
+#define tr_time Time
+#endif /* __amigaos4__ */
+#endif /* AMIGA_OS3SUPPRT_H_ */