aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-25 20:00:03 +0200
committerMax Kellermann <max@duempel.org>2008-09-25 20:00:03 +0200
commitcee4c0450e477e6b683fb3db883227c2a7fa423f (patch)
tree6d38e37ce065a8db8e7444fae5ab317cf97108f7 /src/screen.c
parentf87fea3cd0792de52c0620c329b67db096a7a687 (diff)
downloadmpd-cee4c0450e477e6b683fb3db883227c2a7fa423f.tar.gz
mpd-cee4c0450e477e6b683fb3db883227c2a7fa423f.tar.xz
mpd-cee4c0450e477e6b683fb3db883227c2a7fa423f.zip
screen: don't compile disabled sources
Instead of evaluating macros from config.h in the disabled source, don't start the compiler on it at all.
Diffstat (limited to '')
-rw-r--r--src/screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c
index e391a9d62..71631db6e 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -61,7 +61,9 @@ extern const struct screen_functions screen_search;
#ifdef ENABLE_KEYDEF_SCREEN
extern const struct screen_functions screen_keydef;
#endif
+#ifdef ENABLE_LYRICS_SCREEN
extern const struct screen_functions screen_lyrics;
+#endif
typedef struct screen_functions * (*screen_get_mode_functions_fn_t) (void);