From cee4c0450e477e6b683fb3db883227c2a7fa423f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 25 Sep 2008 20:00:03 +0200 Subject: 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. --- src/screen_lyrics.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/screen_lyrics.c') diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c index d83bf5b36..3c0393488 100644 --- a/src/screen_lyrics.c +++ b/src/screen_lyrics.c @@ -17,8 +17,6 @@ * */ -#include "config.h" -#ifndef DISABLE_LYRICS_SCREEN #include #include "ncmpc.h" #include "options.h" @@ -336,5 +334,3 @@ const struct screen_functions screen_lyrics = { .cmd = lyrics_cmd, .get_title = lyrics_title, }; - -#endif /* ENABLE_LYRICS_SCREEN */ -- cgit v1.2.3