diff options
author | Max Kellermann <max@duempel.org> | 2008-09-25 20:00:03 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-25 20:00:03 +0200 |
commit | cee4c0450e477e6b683fb3db883227c2a7fa423f (patch) | |
tree | 6d38e37ce065a8db8e7444fae5ab317cf97108f7 /src/screen_keydef.c | |
parent | f87fea3cd0792de52c0620c329b67db096a7a687 (diff) | |
download | mpd-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_keydef.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/screen_keydef.c b/src/screen_keydef.c index ad5471476..a37d27d2a 100644 --- a/src/screen_keydef.c +++ b/src/screen_keydef.c @@ -16,9 +16,6 @@ * */ -#include "config.h" - -#ifndef DISABLE_KEYDEF_SCREEN #include "ncmpc.h" #include "mpdclient.h" #include "options.h" @@ -375,5 +372,3 @@ const struct screen_functions screen_keydef = { .cmd = keydef_cmd, .get_title = keydef_title, }; - -#endif |