aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/mod_plugin.c
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2007-03-02 12:14:18 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2007-03-02 12:14:18 +0000
commitd93e939557d1d79bc0b6234dfb6f672dfd7fe94b (patch)
treecd369e1429d8ba4725306eadcabd1455a0fb26a6 /src/inputPlugins/mod_plugin.c
parentbefd2776bcd10e6342f83eb6f3f5f2e08b806dbc (diff)
downloadmpd-d93e939557d1d79bc0b6234dfb6f672dfd7fe94b.tar.gz
mpd-d93e939557d1d79bc0b6234dfb6f672dfd7fe94b.tar.xz
mpd-d93e939557d1d79bc0b6234dfb6f672dfd7fe94b.zip
Support for libmikmod 3.2.0 betas.
git-svn-id: https://svn.musicpd.org/mpd/trunk@5492 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/inputPlugins/mod_plugin.c')
-rw-r--r--src/inputPlugins/mod_plugin.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/inputPlugins/mod_plugin.c b/src/inputPlugins/mod_plugin.c
index 475937ad0..6adb5e19f 100644
--- a/src/inputPlugins/mod_plugin.c
+++ b/src/inputPlugins/mod_plugin.c
@@ -64,8 +64,13 @@ static MDRIVER drv_mpd = {
"MPD Output Driver v0.1",
0,
255,
- "mpd",
- NULL,
+#if (LIBMIKMOD_VERSION > 0x030106)
+ "mpd", /* Alias */
+#if (LIBMIKMOD_VERSION > 0x030200)
+ NULL, /* CmdLineHelp */
+#endif
+ NULL, /* CommandLine */
+#endif
mod_mpd_IsThere,
VC_SampleLoad,
VC_SampleUnload,