aboutsummaryrefslogtreecommitdiffstats
path: root/src/wreadln.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-07 13:27:31 +0100
committerMax Kellermann <max@duempel.org>2008-11-07 13:27:31 +0100
commit54674384020f5d8019ca71f6c283d18ba32d5171 (patch)
tree8684aa7a9ccd18c808ad265e7c7bb9e283833cdc /src/wreadln.h
parent9e8806dadee58efe36151a6bca22d65487ed02ee (diff)
downloadmpd-54674384020f5d8019ca71f6c283d18ba32d5171.tar.gz
mpd-54674384020f5d8019ca71f6c283d18ba32d5171.tar.xz
mpd-54674384020f5d8019ca71f6c283d18ba32d5171.zip
disable more features with --enable-mini
Disable lots of smaller features which don't have a separate configure option: - xterm title - screen list - horizontal scrolling - MPD version number check - key binding checks - character set conversion - bitrate display - highlighting in the file browser - completion / history
Diffstat (limited to '')
-rw-r--r--src/wreadln.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wreadln.h b/src/wreadln.h
index e1ac67318..e745025d3 100644
--- a/src/wreadln.h
+++ b/src/wreadln.h
@@ -11,6 +11,8 @@
#include <ncurses.h>
#endif
+#ifndef NCMPC_MINI
+
/* completion callback data */
extern void *wrln_completion_callback_data;
@@ -23,6 +25,8 @@ typedef void (*wrln_gcmp_post_cb_t) (GCompletion *gcmp, gchar *s, GList *l,
void *data);
extern wrln_gcmp_post_cb_t wrln_post_completion_callback;
+#endif
+
/* Note, wreadln calls curs_set() and noecho(), to enable cursor and
* disable echo. wreadln will not restore these settings when exiting! */
gchar *wreadln(WINDOW *w, /* the curses window to use */