diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2021-07-06 13:12:24 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2021-07-06 13:12:24 +0100 |
commit | 7da6db12c67583c372ac0cd33cb80bc0afabda62 (patch) | |
tree | 45a6bb44ab2331cd9b653715d1c6e372d31cbec2 | |
parent | 251cce29b775967f756ee1294f27aeb5499cf0d9 (diff) | |
download | netsurf-7da6db12c67583c372ac0cd33cb80bc0afabda62.tar.gz netsurf-7da6db12c67583c372ac0cd33cb80bc0afabda62.tar.bz2 |
Amiga: start removing compatibility code which is no longer needed under 3.2
-rw-r--r-- | frontends/amiga/os3support.h | 19 |
1 files changed, 3 insertions, 16 deletions
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 <clib/alib_protos.h> +#include <graphics/gfx.h> /* struct Rectangle */ +#include <intuition/intuition.h> /* struct Gadget, Window, Requester */ + #ifndef EXEC_MEMORY_H #include <exec/memory.h> #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; |