diff options
Diffstat (limited to 'beos')
-rw-r--r-- | beos/options.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/beos/options.h b/beos/options.h index 9b8a3d109..40d23a3bc 100644 --- a/beos/options.h +++ b/beos/options.h @@ -17,23 +17,14 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _NETSURF_DESKTOP_OPTIONS_INCLUDING_ -#error "Frontend options header cannot be included directly" -#endif #ifndef _NETSURF_BEOS_OPTIONS_H_ #define _NETSURF_BEOS_OPTIONS_H_ -#define NSOPTION_EXTRA_DEFINE \ - bool render_resample; \ - char *url_file +/* currently nothing here */ -#define NSOPTION_EXTRA_DEFAULTS \ - .render_resample = false, \ - .url_file = 0 +#endif -#define NSOPTION_EXTRA_TABLE \ - { "render_resample", OPTION_BOOL, &nsoptions.render_resample }, \ - { "url_file", OPTION_STRING, &nsoptions.url_file } +NSOPTION_BOOL(render_resample, false) +NSOPTION_STRING(url_file, NULL) -#endif |