From 2b9df1b2cd30e394ebb4e9be721b7d219c4e418c Mon Sep 17 00:00:00 2001 From: Chris Young Date: Tue, 20 Jan 2015 00:39:32 +0000 Subject: Remove some p96 usage --- amiga/bitmap.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'amiga/bitmap.c') diff --git a/amiga/bitmap.c b/amiga/bitmap.c index e7bd72ce4..b7eb129db 100644 --- a/amiga/bitmap.c +++ b/amiga/bitmap.c @@ -19,8 +19,8 @@ #include "amiga/os3support.h" #include -#include #ifdef __amigaos4__ +#include #include #include #endif @@ -388,6 +388,7 @@ struct bitmap *ami_bitmap_from_datatype(char *filename) static struct BitMap *ami_bitmap_get_truecolour(struct bitmap *bitmap,int width,int height,struct BitMap *friendbm) { +#ifdef __amigaos4__ struct RenderInfo ri; struct BitMap *tbm = NULL; struct RastPort trp; @@ -495,6 +496,7 @@ static struct BitMap *ami_bitmap_get_truecolour(struct bitmap *bitmap,int width, } return tbm; +#endif } PLANEPTR ami_bitmap_get_mask(struct bitmap *bitmap, int width, @@ -581,3 +583,4 @@ struct BitMap *ami_bitmap_get_native(struct bitmap *bitmap, return ami_bitmap_get_truecolour(bitmap, width, height, friendbm); } } + -- cgit v1.2.3