aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_search.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_search.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 'src/screen_search.c')
-rw-r--r--src/screen_search.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/screen_search.c b/src/screen_search.c
index 5135b6cf0..245eb5243 100644
--- a/src/screen_search.c
+++ b/src/screen_search.c
@@ -16,9 +16,6 @@
*
*/
-#include "config.h"
-
-#ifndef DISABLE_SEARCH_SCREEN
#include "ncmpc.h"
#include "options.h"
#include "support.h"
@@ -525,5 +522,3 @@ const struct screen_functions screen_search = {
.cmd = search_cmd,
.get_title = get_title,
};
-
-#endif /* ENABLE_SEARCH_SCREEN */