From 7da6db12c67583c372ac0cd33cb80bc0afabda62 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Tue, 6 Jul 2021 13:12:24 +0100 Subject: Amiga: start removing compatibility code which is no longer needed under 3.2 --- frontends/amiga/os3support.h | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'frontends/amiga/os3support.h') diff --git a/frontends/amiga/os3support.h b/frontends/amiga/os3support.h index dc4e06503..8d9fd2fb1 100644 --- a/frontends/amiga/os3support.h +++ b/frontends/amiga/os3support.h @@ -35,6 +35,9 @@ /* Include prototypes for amigalib */ #include +#include /* struct Rectangle */ +#include /* struct Gadget, Window, Requester */ + #ifndef EXEC_MEMORY_H #include #endif @@ -118,8 +121,6 @@ /* Other constants */ #define BVS_DISPLAY BVS_NONE -#define IDCMP_EXTENDEDMOUSE 0 -#define WINDOW_BACKMOST 0 #define DN_FULLPATH 0 #define BGBACKFILL JAM1 #define OFF_OPEN 0 @@ -169,11 +170,9 @@ #define IDoMethod DoMethod #define IDoMethodA DoMethodA #define IDoSuperMethodA DoSuperMethodA -#define ShowWindow(...) (void)0 /* Utility */ #define SetMem memset -#define SNPrintf snprintf /* Integral type definitions */ typedef int8_t int8; @@ -185,18 +184,6 @@ typedef uint32_t uint32; typedef int64_t int64; typedef uint64_t uint64; -/* TimeVal */ -struct TimeVal { - uint32 Seconds; - uint32 Microseconds; -}; - -/* TimeRequest */ -struct TimeRequest { - struct IORequest Request; - struct TimeVal Time; -}; - /* OutlineFont */ struct OutlineFont { struct BulletBase *BulletBase; -- cgit v1.2.3