From 05fa29ba8bc2dbfaa9af7ed1263554c7cdc9214d Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 19 Nov 2016 21:40:32 +0000 Subject: more allocvec/malloc changes --- frontends/amiga/memory.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'frontends/amiga/memory.h') diff --git a/frontends/amiga/memory.h b/frontends/amiga/memory.h index 5e6286426..dd36a214b 100644 --- a/frontends/amiga/memory.h +++ b/frontends/amiga/memory.h @@ -22,8 +22,13 @@ #include /* Alloc/free chip memory */ +#ifdef __amigaos4__ +#define ami_memory_chip_alloc(s) malloc(s) +#define ami_memory_chip_free(p) free(p) +#else #define ami_memory_chip_alloc(s) AllocVec(s, MEMF_CHIP) #define ami_memory_chip_free(p) FreeVec(p) +#endif /* Alloc/free a block cleared to non-zero */ void *ami_memory_clear_alloc(size_t size, UBYTE value); -- cgit v1.2.3