diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2004-01-05 02:10:59 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2004-01-05 02:10:59 +0000 |
commit | 62245d13ec60e3c0fc78221f0a8f754f33c2b6a1 (patch) | |
tree | 5bbe5b8a63941c2d3b7f71fc53ceedcbc1d92cd6 /riscos/frames.c | |
parent | 91e767cdfa11225dd370471892000e107bb06726 (diff) | |
download | netsurf-62245d13ec60e3c0fc78221f0a8f754f33c2b6a1.tar.gz netsurf-62245d13ec60e3c0fc78221f0a8f754f33c2b6a1.tar.bz2 |
[project @ 2004-01-05 02:10:59 by jmb]
Add ability to turn off browser features in build.
This may be useful when hunting down bugs.
svn path=/import/netsurf/; revision=480
Diffstat (limited to 'riscos/frames.c')
-rw-r--r-- | riscos/frames.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/riscos/frames.c b/riscos/frames.c index 055d531e5..1c49382ef 100644 --- a/riscos/frames.c +++ b/riscos/frames.c @@ -7,6 +7,7 @@ #include <stdbool.h> +#include "netsurf/utils/config.h" #include "netsurf/desktop/browser.h" #include "netsurf/desktop/gui.h" #include "netsurf/riscos/frames.h" @@ -20,6 +21,8 @@ #include "oslib/os.h" #include "oslib/wimp.h" +#ifdef WITH_FRAMES + void frame_add_instance_to_list(struct content *c, struct browser_window *parent, struct content *page, struct box *box, struct object_params *params, void **state, struct browser_window *bw, gui_window *g); void frame_remove_instance_from_list(struct content *c); struct frame_list *frame_get_instance_from_list(struct content *c); @@ -206,3 +209,4 @@ struct frame_list *frame_get_instance_from_list(struct content *c) { return NULL; } +#endif |