aboutsummaryrefslogtreecommitdiffstats
path: root/src/options.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-07 08:30:18 +0100
committerMax Kellermann <max@duempel.org>2008-11-07 08:30:18 +0100
commit25a07c795fdf275b85ccc3b6634f645a0eb1127e (patch)
treef1bc53d8ddf4255e0733258d4f54a2778d8948f4 /src/options.h
parentc7a5ac5c3656074b78d826479959cb7425efadcd (diff)
downloadmpd-25a07c795fdf275b85ccc3b6634f645a0eb1127e.tar.gz
mpd-25a07c795fdf275b85ccc3b6634f645a0eb1127e.tar.xz
mpd-25a07c795fdf275b85ccc3b6634f645a0eb1127e.zip
options: don't store disabled options
Options which are disabled at compile time shouldn't reserve space for their values in the options struct.
Diffstat (limited to '')
-rw-r--r--src/options.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/options.h b/src/options.h
index 791ec2f09..5496e78ca 100644
--- a/src/options.h
+++ b/src/options.h
@@ -25,7 +25,9 @@ typedef struct {
int search_mode;
int hide_cursor;
int seek_time;
+#ifdef ENABLE_LYRICS_SCREEN
int lyrics_timeout;
+#endif
bool find_wrap;
bool find_show_last_pattern;
bool list_wrap;
@@ -37,7 +39,9 @@ typedef struct {
bool audible_bell;
bool visible_bell;
bool enable_xterm_title;
+#ifdef HAVE_GETMOUSE
bool enable_mouse;
+#endif
bool scroll;
bool visible_bitrate;
bool welcome_screen_list;