From 844e599a224c6a11d3bc4da55adf5e8dd7dda00c Mon Sep 17 00:00:00 2001 From: Chris Young Date: Fri, 14 Aug 2015 19:13:19 +0100 Subject: [PATCH] Define m68k for OS3 build so dukky (nearly) compiles. --- amiga/Makefile.target | 2 +- amiga/gui.c | 1 + amiga/object.c | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/amiga/Makefile.target b/amiga/Makefile.target index 4f9efb56b..e704eb5f4 100644 --- a/amiga/Makefile.target +++ b/amiga/Makefile.target @@ -7,7 +7,7 @@ CFLAGS += -std=c99 -Dnsamiga ifneq ($(SUBTARGET),os3) CFLAGS += -O2 -finline-functions -U__STRICT_ANSI__ -D__USE_INLINE__ -D__USE_BASETYPE__ else - CFLAGS += -m68020-60 -O0 -DPATH_MAX=1024 + CFLAGS += -m68020-60 -O0 -DPATH_MAX=1024 -D__m68k__ endif NETSURF_FEATURE_ROSPRITE_CFLAGS := -DWITH_NSSPRITE diff --git a/amiga/gui.c b/amiga/gui.c index 1182d1c25..8280d3097 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -742,6 +742,7 @@ static void ami_openscreen(void) if(screen_signal == -1) screen_signal = AllocSignal(-1); LOG("Screen signal %d", screen_signal); scrn = OpenScreenTags(NULL, + /**\todo specify screen depth */ SA_DisplayID, id, SA_Title, ami_gui_get_screen_title(), SA_Type, PUBLICSCREEN, diff --git a/amiga/object.c b/amiga/object.c index 4af924734..64c8e72db 100755 --- a/amiga/object.c +++ b/amiga/object.c @@ -36,7 +36,6 @@ #define nsList List #define NewnsList NewList #endif -/****/ /* Slightly abstract MinList initialisation */ void ami_NewMinList(struct MinList *list)