OS3 build fixes
This commit is contained in:
parent
06b50d9bbd
commit
132be1eed2
|
@ -7,7 +7,7 @@ CFLAGS += -std=c99 -Dnsamiga
|
||||||
ifneq ($(SUBTARGET),os3)
|
ifneq ($(SUBTARGET),os3)
|
||||||
CFLAGS += -O2 -finline-functions -U__STRICT_ANSI__ -D__USE_INLINE__ -D__USE_BASETYPE__
|
CFLAGS += -O2 -finline-functions -U__STRICT_ANSI__ -D__USE_INLINE__ -D__USE_BASETYPE__
|
||||||
else
|
else
|
||||||
CFLAGS += -m68020-60 -O0 -DPATH_MAX=1024 -D__m68k__
|
CFLAGS += -msoft-float -m68020-60 -O0 -DPATH_MAX=1024 -D__m68k__
|
||||||
endif
|
endif
|
||||||
|
|
||||||
NETSURF_FEATURE_ROSPRITE_CFLAGS := -DWITH_NSSPRITE
|
NETSURF_FEATURE_ROSPRITE_CFLAGS := -DWITH_NSSPRITE
|
||||||
|
|
|
@ -41,7 +41,7 @@ void ami_font_setdevicedpi(int id)
|
||||||
|
|
||||||
if(nsoption_bool(bitmap_fonts) == true) {
|
if(nsoption_bool(bitmap_fonts) == true) {
|
||||||
LOG("WARNING: Using diskfont.library for text. Forcing DPI to 72.");
|
LOG("WARNING: Using diskfont.library for text. Forcing DPI to 72.");
|
||||||
nsoption_int(screen_ydpi) = 72;
|
nsoption_set_int(screen_ydpi, 72);
|
||||||
}
|
}
|
||||||
|
|
||||||
browser_set_dpi(nsoption_int(screen_ydpi));
|
browser_set_dpi(nsoption_int(screen_ydpi));
|
||||||
|
|
|
@ -171,7 +171,7 @@ void ami_font_cache_insert(struct ami_font_cache_node *nodedata, const char *fon
|
||||||
#ifndef __amigaos4__
|
#ifndef __amigaos4__
|
||||||
struct nsObject *node = AddObject(ami_font_cache_list, AMINS_FONT);
|
struct nsObject *node = AddObject(ami_font_cache_list, AMINS_FONT);
|
||||||
if(node) {
|
if(node) {
|
||||||
ObjectCallback(ami_font_bullet_close);
|
ObjectCallback(node, ami_font_bullet_close);
|
||||||
node->objstruct = nodedata;
|
node->objstruct = nodedata;
|
||||||
node->dtz_Node.ln_Name = strdup(font);
|
node->dtz_Node.ln_Name = strdup(font);
|
||||||
}
|
}
|
||||||
|
|
|
@ -562,7 +562,7 @@ static nserror ami_set_options(struct nsoption_s *defaults)
|
||||||
nsoption_set_bool(font_antialiasing, false);
|
nsoption_set_bool(font_antialiasing, false);
|
||||||
nsoption_set_bool(truecolour_mouse_pointers, false);
|
nsoption_set_bool(truecolour_mouse_pointers, false);
|
||||||
nsoption_set_bool(use_openurl_lib, true);
|
nsoption_set_bool(use_openurl_lib, true);
|
||||||
nsoption_set_bool(use_diskfont, true);
|
nsoption_set_bool(bitmap_fonts, true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if((!nsoption_charp(accept_language)) ||
|
if((!nsoption_charp(accept_language)) ||
|
||||||
|
|
Loading…
Reference in New Issue