From a7e976b3fbc1038408b024b46dced0205514e109 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Wed, 7 Jul 2021 15:02:52 +0100 Subject: Amiga: switch to using OS3.2's idea of TimeVal/TimeRequest --- frontends/amiga/os3support.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'frontends/amiga/os3support.h') 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_ */ -- cgit v1.2.3